3.0.1 - 2023-10-30
- Using new
UnityEngine.Device.Application
api. - Using new
UnityEngine.Device.Screen
api. - Changed
RateManager
default 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.UpdateRate
now 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.FixedUpdateRate
now 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.RenderInterval
now returns the render interval controller instance instead of the current render interval value, which is now accessible throughRateManager.Instance.RenderInterval.Current
.
RateManager.Instance.UpdateRateMode
is now deprecated, useRateManager.Instance.UpdateRate.Mode
instead.RateManager.Instance.MinimumUpdateRate
is now deprecated, useRateManager.Instance.UpdateRate.Minimum
instead.RateManager.Instance.TargetUpdateRate
is now deprecated, useRateManager.Instance.UpdateRate.Target
instead.RateManager.Instance.UpdateRateModeChanged
is now deprecated, useRateManager.Instance.UpdateRate.ModeChanged
instead.RateManager.Instance.UpdateRateChanged
is now deprecated, useRateManager.Instance.UpdateRate.CurrentChanged
instead.RateManager.Instance.MinimumFixedUpdateRate
is now deprecated, useRateManager.Instance.FixedUpdateRate.Minimum
instead.RateManager.Instance.TargetFixedUpdateRate
is now deprecated, useRateManager.Instance.FixedUpdateRate.Target
instead.RateManager.Instance.FixedUpdateRateChanged
is now deprecated, useRateManager.Instance.FixedUpdateRate.CurrentChanged
instead.RateManager.Instance.TargetFixedUpdateRateChanged
is now deprecated, useRateManager.Instance.FixedUpdateRate.TargetChanged
instead.RateManager.Instance.MaximumRenderInterval
is now deprecated, useRateManager.Instance.RenderInterval.Maximum
instead.RateManager.Instance.TargetRenderInterval
is now deprecated, useRateManager.Instance.RenderInterval.Target
instead.RateManager.Instance.RenderIntervalChanged
is now deprecated, useRateManager.Instance.RenderInterval.CurrentChanged
instead.RateManager.Instance.TargetRenderIntervalChanged
is now deprecated, useRateManager.Instance.RenderInterval.TargetChanged
instead.RateManager.Instance.RenderRate
is now deprecated, useRateManager.Instance.RenderInterval.CurrentRenderRate
instead.RateManager.Instance.WillRender
is now deprecated, useRateManager.Instance.RenderInterval.WillRender
instead.RateManager.Instance.IsRenderIntervalSupported
is now deprecated, useRateManager.Instance.RenderInterval.IsSupported
instead.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
ArgumentNullException
when application is quitting (#2).
2.2.2 - 2021-07-28
- Fixed compilation error on
RateManager
for Unity versions below 2019.3 (#1), by @Chrisdbhr.
2.2.1 - 2021-05-18
RateRequestAnimatorComponent
was not evaluating correctly ifAnimator
states are playing.
2.2.0 - 2021-01-20
RateRequestAnimationComponent
to activate requests while anAnimation
component is playing.RateRequestAnimatorComponent
to activate requests while anAnimator
component is playing.
DelaySecondsToStopRequests
on 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.ScreenDataBackgroundColor
sometimes 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.json
wrong version.
2.1.0 - 2020-08-28
- Customize background color, text color and font size on
RateDebug
screen data. - Enable/disable verbose screen data on
RateDebug
. RateManager.HasInstance
to check if the instance exists without creating it.
- Renamed
Debugger
toRateDebug
. - Renamed
LogLevel
toRateLogLevel
. - Increased
RateDebug.LogLevel
default value.