Instance
The default Adaptive Performance interface instance for accessing all Adaptive Performance functionality.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Property
- Namespace: UnityEngine.AdaptivePerformance
- Assembly: UnityEngine.AdaptivePerformanceModule
public static IAdaptivePerformance Instance { get; }
Remarks
This property becomes available after calling Holder.Initialize and successful initialization. The instance remains available until Holder.Deinitialize is called.
Check that this property isn't null and that IAdaptivePerformance.Initialized is true before using Adaptive Performance features.
Setting this property triggers Holder.LifecycleEventHandler events when the value changes.