Documentation

Unity Engine

Download Unity

Unity Engine

AdaptivePerformanceManagerSettings

Class to handle active loader and subsystem management for Adaptive Performance. This class is to be added as a ScriptableObject asset in your project and should only be referenced by an AdaptivePerformanceGeneralSettings instance for its use. Given a list of loaders, it will attempt to load each
Read time 5 minutesLast updated 5 hours ago

Definition

public sealed class AdaptivePerformanceManagerSettings : ScriptableObject

Properties

Property

Description

activeLoaderReturns the current singleton active loader instance.
automaticLoadingGet and set Automatic Loading state for this manager. When this is true, the manager will automatically call InitializeLoader and DeinitializeLoader for you. When false, AdaptivePerformanceManagerSettings.automaticRunning is also set to false and remains that way. This means that disabling automatic loading disables all automatic behavior for the manager.
automaticRunningGet and set the automatic running state for this manager. When this is true, the manager will call StartSubsystems and StopSubsystems APIs at appropriate times. When false, or when AdaptivePerformanceManagerSettings.automaticLoading is false, it is up to the user of the manager to handle that same functionality.
isInitializationCompleteRead-only boolean that is true if initialization is completed and false otherwise. Because initialization is handled as a Coroutine, applications that use the auto-lifecycle management of AdaptivePerformanceManager will need to wait for init to complete before checking for an ActiveLoader and calling StartSubsystems.
loadersList of loaders currently managed by this Adaptive Performance Manager instance.

Methods

Method

Description

ActiveLoaderAsReturns the current active loader, cast to the requested type. Useful shortcut when you need to get the active loader as something less generic than AdaptivePerformanceLoader.

Inheritance

Inherited Members

Operators

Operator

Description

operator ==Compares two object references to see if they refer to the same object.
boolDetermines whether the object exists.
operator !=Compares if two objects refer to a different object.