3.0.1 - 2023-10-30
- Using new
UnityEngine.Device.Applicationapi. - Using new
UnityEngine.Device.Screenapi. - Changed
RateManagerdefault update rate mode toApplicationTargetFrameRate, default minimum update rate to 20 and default maximum render interval to 10. - Changed rate request components default delay seconds to stop requests to 1.
3.0.0 - 2022-09-26
- New editor tracker window to make it easy to debug requests lifecycle. It's accessible through
Window > UniRate Tracker.
- Refactored rates/interval management to allow easy testability.
- Breaking:
RateManager.Instance.UpdateRatenow returns the update rate controller instance instead of the current update rate per seconds value, which is now accessible throughRateManager.Instance.UpdateRate.Current. - Breaking:
RateManager.Instance.FixedUpdateRatenow returns the fixed update rate controller instance instead of the current fixed update rate per seconds value, which is now accessible throughRateManager.Instance.FixedUpdateRate.Current. - Breaking:
RateManager.Instance.RenderIntervalnow returns the render interval controller instance instead of the current render interval value, which is now accessible throughRateManager.Instance.RenderInterval.Current.
RateManager.Instance.UpdateRateModeis now deprecated, useRateManager.Instance.UpdateRate.Modeinstead.RateManager.Instance.MinimumUpdateRateis now deprecated, useRateManager.Instance.UpdateRate.Minimuminstead.RateManager.Instance.TargetUpdateRateis now deprecated, useRateManager.Instance.UpdateRate.Targetinstead.RateManager.Instance.UpdateRateModeChangedis now deprecated, useRateManager.Instance.UpdateRate.ModeChangedinstead.RateManager.Instance.UpdateRateChangedis now deprecated, useRateManager.Instance.UpdateRate.CurrentChangedinstead.RateManager.Instance.MinimumFixedUpdateRateis now deprecated, useRateManager.Instance.FixedUpdateRate.Minimuminstead.RateManager.Instance.TargetFixedUpdateRateis now deprecated, useRateManager.Instance.FixedUpdateRate.Targetinstead.RateManager.Instance.FixedUpdateRateChangedis now deprecated, useRateManager.Instance.FixedUpdateRate.CurrentChangedinstead.RateManager.Instance.TargetFixedUpdateRateChangedis now deprecated, useRateManager.Instance.FixedUpdateRate.TargetChangedinstead.RateManager.Instance.MaximumRenderIntervalis now deprecated, useRateManager.Instance.RenderInterval.Maximuminstead.RateManager.Instance.TargetRenderIntervalis now deprecated, useRateManager.Instance.RenderInterval.Targetinstead.RateManager.Instance.RenderIntervalChangedis now deprecated, useRateManager.Instance.RenderInterval.CurrentChangedinstead.RateManager.Instance.TargetRenderIntervalChangedis now deprecated, useRateManager.Instance.RenderInterval.TargetChangedinstead.RateManager.Instance.RenderRateis now deprecated, useRateManager.Instance.RenderInterval.CurrentRenderRateinstead.RateManager.Instance.WillRenderis now deprecated, useRateManager.Instance.RenderInterval.WillRenderinstead.RateManager.Instance.IsRenderIntervalSupportedis now deprecated, useRateManager.Instance.RenderInterval.IsSupportedinstead.RateManager.Instance.RequestUpdateRate(int)is now deprecated, useRateManager.Instance.UpdateRate.Request(int)instead.RateManager.Instance.RequestFixedUpdateRate(int)is now deprecated, useRateManager.Instance.FixedUpdateRate.Request(int)instead.RateManager.Instance.RequestRenderInterval(int)is now deprecated, useRateManager.Instance.RenderInterval.Request(int)instead.
- Fixed
ArgumentNullExceptionwhen application is quitting (#2).
2.2.2 - 2021-07-28
- Fixed compilation error on
RateManagerfor Unity versions below 2019.3 (#1), by @Chrisdbhr.
2.2.1 - 2021-05-18
RateRequestAnimatorComponentwas not evaluating correctly ifAnimatorstates are playing.
2.2.0 - 2021-01-20
RateRequestAnimationComponentto activate requests while anAnimationcomponent is playing.RateRequestAnimatorComponentto activate requests while anAnimatorcomponent is playing.
DelaySecondsToStopRequestson requests components was not calculating delay since 'should stop requests' time.- Wrong release years on changelog.md file.
2.1.2 - 2020-10-01
- Changes to
RateDebug.ScreenDataBackgroundColorsometimes had no effect when application was running on device. - Legacy code not being imported correctly by Unity because assembly definition file was missing.
2.1.1 - 2020-08-28
package.jsonwrong version.
2.1.0 - 2020-08-28
- Customize background color, text color and font size on
RateDebugscreen data. - Enable/disable verbose screen data on
RateDebug. RateManager.HasInstanceto check if the instance exists without creating it.
- Renamed
DebuggertoRateDebug. - Renamed
LogLeveltoRateLogLevel. - Increased
RateDebug.LogLeveldefault value.