Unity plugin to easily manage the application frame rate and rendering interval. Reducing battery power consumption and device heat, especially on mobile platforms.
UnityEngine.Device.Application
api.UnityEngine.Device.Screen
api.RateManager
default update rate mode to ApplicationTargetFrameRate
, default minimum update rate to 20 and default maximum render interval to 10.Window > UniRate Tracker
.RateManager.Instance.UpdateRate
now returns the update rate controller instance instead of the current update rate per seconds value, which is now accessible through RateManager.Instance.UpdateRate.Current
.RateManager.Instance.FixedUpdateRate
now returns the fixed update rate controller instance instead of the current fixed update rate per seconds value, which is now accessible through RateManager.Instance.FixedUpdateRate.Current
.RateManager.Instance.RenderInterval
now returns the render interval controller instance instead of the current render interval value, which is now accessible through RateManager.Instance.RenderInterval.Current
.RateManager.Instance.UpdateRateMode
is now deprecated, use RateManager.Instance.UpdateRate.Mode
instead.RateManager.Instance.MinimumUpdateRate
is now deprecated, use RateManager.Instance.UpdateRate.Minimum
instead.RateManager.Instance.TargetUpdateRate
is now deprecated, use RateManager.Instance.UpdateRate.Target
instead.RateManager.Instance.UpdateRateModeChanged
is now deprecated, use RateManager.Instance.UpdateRate.ModeChanged
instead.RateManager.Instance.UpdateRateChanged
is now deprecated, use RateManager.Instance.UpdateRate.CurrentChanged
instead.RateManager.Instance.MinimumFixedUpdateRate
is now deprecated, use RateManager.Instance.FixedUpdateRate.Minimum
instead.RateManager.Instance.TargetFixedUpdateRate
is now deprecated, use RateManager.Instance.FixedUpdateRate.Target
instead.RateManager.Instance.FixedUpdateRateChanged
is now deprecated, use RateManager.Instance.FixedUpdateRate.CurrentChanged
instead.RateManager.Instance.TargetFixedUpdateRateChanged
is now deprecated, use RateManager.Instance.FixedUpdateRate.TargetChanged
instead.RateManager.Instance.MaximumRenderInterval
is now deprecated, use RateManager.Instance.RenderInterval.Maximum
instead.RateManager.Instance.TargetRenderInterval
is now deprecated, use RateManager.Instance.RenderInterval.Target
instead.RateManager.Instance.RenderIntervalChanged
is now deprecated, use RateManager.Instance.RenderInterval.CurrentChanged
instead.RateManager.Instance.TargetRenderIntervalChanged
is now deprecated, use RateManager.Instance.RenderInterval.TargetChanged
instead.RateManager.Instance.RenderRate
is now deprecated, use RateManager.Instance.RenderInterval.CurrentRenderRate
instead.RateManager.Instance.WillRender
is now deprecated, use RateManager.Instance.RenderInterval.WillRender
instead.RateManager.Instance.IsRenderIntervalSupported
is now deprecated, use RateManager.Instance.RenderInterval.IsSupported
instead.RateManager.Instance.RequestUpdateRate(int)
is now deprecated, use RateManager.Instance.UpdateRate.Request(int)
instead.RateManager.Instance.RequestFixedUpdateRate(int)
is now deprecated, use RateManager.Instance.FixedUpdateRate.Request(int)
instead.RateManager.Instance.RequestRenderInterval(int)
is now deprecated, use RateManager.Instance.RenderInterval.Request(int)
instead.ArgumentNullException
when application is quitting (#2).RateRequestAnimationComponent
to activate requests while an Animation
component is playing.RateRequestAnimatorComponent
to activate requests while an Animator
component is playing.DelaySecondsToStopRequests
on requests components was not calculating delay since 'should stop requests' time.RateDebug
screen data.RateDebug
.RateManager.HasInstance
to check if the instance exists without creating it.Debugger
to RateDebug
.LogLevel
to RateLogLevel
.RateDebug.LogLevel
default value.