Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

AndroidDevice.SetSustainedPerformanceMode

Declaration

public static void SetSustainedPerformanceMode(bool enabled);

Description

Set sustained performance mode. When enabled, sustained performance mode is intended to provide a consistent level of performance for a prolonged amount of time.

Internally, this method calls the Android sustained performance API. It is not reset when the window loses focus.