Timer and AnimationsΒΆ

All widgets and components with animations have option UnscaledTime. The animation will be run with Time.unscaledTime if this option enabled.

You can also specify own timer instead of the default one. To do this, you need to set the following fields:

  • UtilitiesTime.GetTime Func<bool, float>

    Accept the time type, true if unscaled time. Returns the current time in seconds since the start of the game.

  • UtilitiesTime.GetDeltaTime Func<float>

    Accept the time type, true if unscaled time. Returns the current time in seconds since the last frame.