docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class AdaptivePerformanceLoader

    Adaptive Performance Loader abstract class used as a base class for specific provider implementations. Providers should implement subclasses of this to provide specific initialization and management implementations that make sense for their supported scenarios and needs.

    Inheritance
    object
    Object
    ScriptableObject
    AdaptivePerformanceLoader
    AdaptivePerformanceLoaderHelper
    Inherited Members
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(string)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(object)
    Object.InstantiateAsync<T>(T)
    Object.InstantiateAsync<T>(T, Transform)
    Object.InstantiateAsync<T>(T, Vector3, Quaternion)
    Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
    Object.InstantiateAsync<T>(T, int)
    Object.InstantiateAsync<T>(T, int, Transform)
    Object.InstantiateAsync<T>(T, int, Vector3, Quaternion)
    Object.InstantiateAsync<T>(T, int, ReadOnlySpan<Vector3>, ReadOnlySpan<Quaternion>)
    Object.InstantiateAsync<T>(T, int, Transform, Vector3, Quaternion)
    Object.InstantiateAsync<T>(T, int, Transform, ReadOnlySpan<Vector3>, ReadOnlySpan<Quaternion>)
    Object.InstantiateAsync<T>(T, InstantiateParameters)
    Object.InstantiateAsync<T>(T, int, InstantiateParameters)
    Object.InstantiateAsync<T>(T, Vector3, Quaternion, InstantiateParameters)
    Object.InstantiateAsync<T>(T, int, Vector3, Quaternion, InstantiateParameters)
    Object.InstantiateAsync<T>(T, int, ReadOnlySpan<Vector3>, ReadOnlySpan<Quaternion>, InstantiateParameters)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Scene)
    Object.Instantiate<T>(T, InstantiateParameters)
    Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, bool)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, bool)
    Object.Destroy(Object, float)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, bool)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.FindObjectsOfType(Type, bool)
    Object.FindObjectsByType(Type, FindObjectsSortMode)
    Object.FindObjectsByType(Type, FindObjectsInactive, FindObjectsSortMode)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, float)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectsByType<T>(FindObjectsSortMode)
    Object.FindObjectsOfType<T>(bool)
    Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
    Object.FindObjectOfType<T>()
    Object.FindObjectOfType<T>(bool)
    Object.FindFirstObjectByType<T>()
    Object.FindAnyObjectByType<T>()
    Object.FindFirstObjectByType<T>(FindObjectsInactive)
    Object.FindAnyObjectByType<T>(FindObjectsInactive)
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.FindFirstObjectByType(Type)
    Object.FindAnyObjectByType(Type)
    Object.FindObjectOfType(Type, bool)
    Object.FindFirstObjectByType(Type, FindObjectsInactive)
    Object.FindAnyObjectByType(Type, FindObjectsInactive)
    Object.ToString()
    Object.name
    Object.hideFlags
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.AdaptivePerformance
    Assembly: Unity.AdaptivePerformance.dll
    Syntax
    public abstract class AdaptivePerformanceLoader : ScriptableObject

    Properties

    Initialized

    Returns if the provider loader was initialized successfully.

    Declaration
    public abstract bool Initialized { get; }
    Property Value
    Type Description
    bool

    Running

    Returns if the provider loader is currently running.

    Declaration
    public abstract bool Running { get; }
    Property Value
    Type Description
    bool

    Methods

    Deinitialize()

    Ask loader to deinitialize all initialized subsystems.

    Declaration
    public virtual bool Deinitialize()
    Returns
    Type Description
    bool

    Whether or not deinitialization succeeded.

    GetDefaultSubsystem()

    Gets the loaded default subsystem.

    Declaration
    public abstract ISubsystem GetDefaultSubsystem()
    Returns
    Type Description
    ISubsystem

    The loaded subsystem, or null if no default subsystem is loaded.

    GetLoadedSubsystem<T>()

    Gets the loaded subsystem of the specified type. This is implementation-specific, because implementations contain data on what they have loaded and how best to get it.

    Declaration
    public abstract T GetLoadedSubsystem<T>() where T : class, ISubsystem
    Returns
    Type Description
    T

    The loaded subsystem, or null if no subsystem found.

    Type Parameters
    Name Description
    T

    Type of the subsystem to get.

    GetSettings()

    Gets the Settings of the loader used to descibe the loader and subsystems.

    Declaration
    public abstract IAdaptivePerformanceSettings GetSettings()
    Returns
    Type Description
    IAdaptivePerformanceSettings

    The settings of the loader.

    Initialize()

    Initialize the loader. This should initialize all subsystems to support the desired runtime setup this loader represents.

    Declaration
    public virtual bool Initialize()
    Returns
    Type Description
    bool

    Whether or not initialization succeeded.

    Start()

    Ask loader to start all initialized subsystems.

    Declaration
    public virtual bool Start()
    Returns
    Type Description
    bool

    Whether or not all subsystems were successfully started.

    Stop()

    Ask loader to stop all initialized subsystems.

    Declaration
    public virtual bool Stop()
    Returns
    Type Description
    bool

    Whether or not all subsystems were successfully stopped.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)