Class AdaptivePerformanceGeneralSettings
General settings container used to house the instance of the active settings, as well as the manager instance used to load the loaders with.
Inherited Members
Namespace: UnityEngine .AdaptivePerformance
Assembly: Unity.AdaptivePerformance.dll
Syntax
public class AdaptivePerformanceGeneralSettings : ScriptableObject
Fields
k_SettingsKey
The key used to query to get the current loader settings.
Declaration
public static string k_SettingsKey
Field Value
Type | Description |
---|---|
string |
Properties
AssignedSettings
The current active manager used to manage the Adaptive Performance lifetime.
Declaration
public AdaptivePerformanceManagerSettings AssignedSettings { get; set; }
Property Value
Type | Description |
---|---|
Adaptive |
InitManagerOnStart
Used to set if the manager is activated and initialized on startup.
Declaration
public bool InitManagerOnStart { get; set; }
Property Value
Type | Description |
---|---|
bool |
Instance
The current settings instance.
Declaration
public static AdaptivePerformanceGeneralSettings Instance { get; set; }
Property Value
Type | Description |
---|---|
Adaptive |
IsProviderInitialized
Indicates if provider loader has been initialized.
Declaration
public bool IsProviderInitialized { get; }
Property Value
Type | Description |
---|---|
bool |
IsProviderStarted
Indicates if provider loader and subsystem has been started.
Declaration
public bool IsProviderStarted { get; }
Property Value
Type | Description |
---|---|
bool |
Manager
The current active manager used to manage the Adaptive Performance lifetime.
Declaration
public AdaptivePerformanceManagerSettings Manager { get; set; }
Property Value
Type | Description |
---|---|
Adaptive |
Methods
InternalPlayModeStateChanged(PlayModeStateChange)
For internal use only.
Declaration
public void InternalPlayModeStateChanged(PlayModeStateChange state)
Parameters
Type | Name | Description |
---|---|---|
Play |
state |