Class SimulatorProviderLoader
SimulatorProviderLoader implements the loader for the Adaptive Performance Device Simulator plugin.
Inheritance
Inherited Members
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
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
GetSettings()
Implementation of GetSettings().
Declaration
public override IAdaptivePerformanceSettings GetSettings()
Returns
Type | Description |
---|---|
IAdaptivePerformanceSettings | Returns the Simulator settings. |
Overrides
Initialize()
Implementation of Initialize().
Declaration
public override bool Initialize()
Returns
Type | Description |
---|---|
Boolean | True if successfully initialized the Simulator subsystem, false otherwise. |
Overrides
Start()
Implementation of Start().
Declaration
public override bool Start()
Returns
Type | Description |
---|---|
Boolean | True if successfully started the Simulator subsystem, false otherwise. |
Overrides
Stop()
Implementation of Stop().
Declaration
public override bool Stop()
Returns
Type | Description |
---|---|
Boolean | True if successfully stopped the Simulator subsystem, false otherwise |