文档

Unity Engine

Unity Engine

IdleScale

The current idle scale factor that battery mode derives from the player's idle time.
阅读时间1 分钟最后更新于 1 个月前

Definition

public int IdleScale { get; }

Remarks

The value is
1
when the player is active and increases the longer the player stays idle. Battery-mode scalers such as AdaptiveOnDemandRendering use it to reduce work while the application is idle. Only battery mode updates this value.