文档

Unity Engine

Download Unity

Unity Engine

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

public static void SetSustainedPerformanceMode(bool enabled)

Parameters

enabled

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.