Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IdleScale

The current idle scale factor that battery mode derives from the player's idle time.
Read time 1 minuteLast updated 14 days ago

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.