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.
Read time 1 minuteLast updated 6 days ago
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.