docs.unity3d.com
    Show / Hide Table of Contents

    Class SimulatorProviderLoader

    SimulatorProviderLoader implements the loader for the Adaptive Performance Device Simulator plugin.

    Inheritance
    Object
    UnityEngine.Object
    UnityEngine.ScriptableObject
    AdaptivePerformanceLoader
    AdaptivePerformanceLoaderHelper
    SimulatorProviderLoader
    Inherited Members
    AdaptivePerformanceLoaderHelper.m_SubsystemInstanceMap
    AdaptivePerformanceLoaderHelper.GetLoadedSubsystem<T>()
    AdaptivePerformanceLoaderHelper.StartSubsystem<T>()
    AdaptivePerformanceLoaderHelper.StopSubsystem<T>()
    AdaptivePerformanceLoaderHelper.DestroySubsystem<T>()
    AdaptivePerformanceLoaderHelper.CreateSubsystem<TDescriptor, TSubsystem>(List<TDescriptor>, String)
    UnityEngine.ScriptableObject.SetDirty()
    UnityEngine.ScriptableObject.CreateInstance(System.String)
    UnityEngine.ScriptableObject.CreateInstance(System.Type)
    UnityEngine.ScriptableObject.CreateInstance<T>()
    UnityEngine.Object.GetInstanceID()
    UnityEngine.Object.GetHashCode()
    UnityEngine.Object.Equals(System.Object)
    UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Vector3, UnityEngine.Quaternion)
    UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Vector3, UnityEngine.Quaternion, UnityEngine.Transform)
    UnityEngine.Object.Instantiate(UnityEngine.Object)
    UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Transform)
    UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Transform, System.Boolean)
    UnityEngine.Object.Instantiate<T>(T)
    UnityEngine.Object.Instantiate<T>(T, UnityEngine.Vector3, UnityEngine.Quaternion)
    UnityEngine.Object.Instantiate<T>(T, UnityEngine.Vector3, UnityEngine.Quaternion, UnityEngine.Transform)
    UnityEngine.Object.Instantiate<T>(T, UnityEngine.Transform)
    UnityEngine.Object.Instantiate<T>(T, UnityEngine.Transform, System.Boolean)
    UnityEngine.Object.Destroy(UnityEngine.Object, System.Single)
    UnityEngine.Object.Destroy(UnityEngine.Object)
    UnityEngine.Object.DestroyImmediate(UnityEngine.Object, System.Boolean)
    UnityEngine.Object.DestroyImmediate(UnityEngine.Object)
    UnityEngine.Object.FindObjectsOfType(System.Type)
    UnityEngine.Object.FindObjectsOfType(System.Type, System.Boolean)
    UnityEngine.Object.DontDestroyOnLoad(UnityEngine.Object)
    UnityEngine.Object.DestroyObject(UnityEngine.Object, System.Single)
    UnityEngine.Object.DestroyObject(UnityEngine.Object)
    UnityEngine.Object.FindSceneObjectsOfType(System.Type)
    UnityEngine.Object.FindObjectsOfTypeIncludingAssets(System.Type)
    UnityEngine.Object.FindObjectsOfType<T>()
    UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
    UnityEngine.Object.FindObjectOfType<T>()
    UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
    UnityEngine.Object.FindObjectsOfTypeAll(System.Type)
    UnityEngine.Object.FindObjectOfType(System.Type)
    UnityEngine.Object.FindObjectOfType(System.Type, System.Boolean)
    UnityEngine.Object.ToString()
    UnityEngine.Object.name
    UnityEngine.Object.hideFlags
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEditor.AdaptivePerformance.Simulator.Editor
    Syntax
    [AdaptivePerformanceSupportedBuildTarget(BuildTargetGroup.Standalone)]
    public class SimulatorProviderLoader : AdaptivePerformanceLoaderHelper

    Properties

    Initialized

    Returns if the provider loader was initialized successfully.

    Declaration
    public override bool Initialized { get; }
    Property Value
    Type Description
    Boolean
    Overrides
    AdaptivePerformanceLoader.Initialized

    Running

    Returns if the provider loader is currently running.

    Declaration
    public override bool Running { get; }
    Property Value
    Type Description
    Boolean
    Overrides
    AdaptivePerformanceLoader.Running

    simulatorSubsystem

    Returns the currently active Simulator Subsystem instance, if any.

    Declaration
    public SimulatorAdaptivePerformanceSubsystem simulatorSubsystem { get; }
    Property Value
    Type Description
    SimulatorAdaptivePerformanceSubsystem

    Methods

    Deinitialize()

    Implementation of Deinitialize().

    Declaration
    public override bool Deinitialize()
    Returns
    Type Description
    Boolean

    True if successfully deinitialized the Simulator subsystem, false otherwise.

    Overrides
    AdaptivePerformanceLoaderHelper.Deinitialize()

    GetDefaultSubsystem()

    Implementation of GetDefaultSubsystem()

    Declaration
    public override ISubsystem GetDefaultSubsystem()
    Returns
    Type Description
    UnityEngine.ISubsystem

    The Simulator as currently loaded default subststem. Adaptive Performance always initializes the first subsystem and uses it as a default, because only one subsystem can be present at a given time. You can change subsystem order in the Adaptive Performance Provider Settings.

    Overrides
    AdaptivePerformanceLoader.GetDefaultSubsystem()

    GetSettings()

    Implementation of GetSettings().

    Declaration
    public override IAdaptivePerformanceSettings GetSettings()
    Returns
    Type Description
    IAdaptivePerformanceSettings

    Returns the Simulator settings.

    Overrides
    AdaptivePerformanceLoader.GetSettings()

    Initialize()

    Implementation of Initialize().

    Declaration
    public override bool Initialize()
    Returns
    Type Description
    Boolean

    True if successfully initialized the Simulator subsystem, false otherwise.

    Overrides
    AdaptivePerformanceLoader.Initialize()

    Start()

    Implementation of Start().

    Declaration
    public override bool Start()
    Returns
    Type Description
    Boolean

    True if successfully started the Simulator subsystem, false otherwise.

    Overrides
    AdaptivePerformanceLoader.Start()

    Stop()

    Implementation of Stop().

    Declaration
    public override bool Stop()
    Returns
    Type Description
    Boolean

    True if successfully stopped the Simulator subsystem, false otherwise

    Overrides
    AdaptivePerformanceLoader.Stop()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023