docs.unity3d.com
    Show / Hide Table of Contents

    Class SimulatorProviderLoader

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

    Inheritance
    Object
    Object
    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)
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(String)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(Object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, Boolean)
    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, Boolean)
    Object.Destroy(Object, Single)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, Boolean)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, Single)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectOfType<T>()
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.ToString()
    Object.name
    Object.hideFlags
    Namespace: UnityEditor.AdaptivePerformance.Simulator.Editor
    Syntax
    [AdaptivePerformanceSupportedBuildTarget(BuildTargetGroup.Standalone)]
    public class SimulatorProviderLoader : AdaptivePerformanceLoaderHelper

    Properties

    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
    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()
    In This Article
    • Properties
      • simulatorSubsystem
    • Methods
      • Deinitialize()
      • GetDefaultSubsystem()
      • GetSettings()
      • Initialize()
      • Start()
      • Stop()
    Back to top
    Terms of use
    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