Instance
The default Adaptive Performance interface instance for accessing all Adaptive Performance functionality.
阅读时间1 分钟最后更新于 1 个月前
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.