Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


AdaptivePerformanceLoaderHelper

Adaptive Performance Loader abstract subclass used as a base class for specific provider implementations. Class provides some helper logic that can be used to handle subsystem handling in a typesafe manner, reducing potential boilerplate code.
Read time 5 minutesLast updated 6 days ago

Definition

public abstract class AdaptivePerformanceLoaderHelper : AdaptivePerformanceLoader

Fields

Value

Description

m_SubsystemInstanceMapMap of loaded susbsystems. Used so Unity doesn't always have to call AdaptivePerformanceManger and do a manual search to find the instance it loaded.

Methods

Method

Description

CreateSubsystemCreates a subsystem with a given list of descriptors and a specific subsystem id.
DeinitializeOverride of AdaptivePerformanceLoaderHelper.Deinitialize to provide for clearing the instance map.
DestroySubsystemDestroy a subsystem instance of a given type. Subsystem is assumed to already be loaded from a previous call to CreateSubsystem.
GetLoadedSubsystemGets the loaded subsystem of the specified type. This is implementation-specific, because implementations contain data on what they have loaded and how best to get it.
StartSubsystemStart a subsystem instance of a given type. Subsystem is assumed to already be loaded from a previous call to CreateSubsystem.
StopSubsystemStop a subsystem instance of a given type. Subsystem is assumed to already be loaded from a previous call to CreateSubsystem.

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.