You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think that we don't need to replace current implementation with something that pays attention to Editor.pause. But I'm sure that we have to extend current impl with version that you have requested. It sounds like a good idea for me, thank you.
[RuntimeInitializeOnLoad]. Absolutely agree, should be fixed. Otherwise it might become Editor only timer-tool.
com.stansassets.foundation/Runtime/Utilities/TimeUtility.cs
Line 20 in b333205
the TimeUtility class is based on DateTime, which means it breaks when pausing the play mode in the editor (timers should not proceed while paused).
Relying on Time.time OR Time.unscaledTime would pause if the game is paused in the editor (or even paused via timeScale in game, for Time.time)
Also the class is missing a "RuntimeInitializeOnLoad" to clear the static dictionary, which means timers would survive the playmode if the faster-playmode-options are used (https://blog.unity.com/technology/enter-play-mode-faster-in-unity-2019-3)
The text was updated successfully, but these errors were encountered: