SetSustainedPerformanceMode(bool)
Set sustained performance mode. When enabled, sustained performance mode is intended to provide a consistent level of performance for a prolonged amount of time.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.Android
- Assembly: UnityEngine.AndroidJNIModule
public static void SetSustainedPerformanceMode(bool enabled)
Parameters
Set to true to enable sustained performance mode. Set to false to disable it.
Remarks
Internally, this method calls the Android sustained performance API. It is not reset when the window loses focus.