Clock & Time Scales

v1.0

Juicy Actions comes with a built-in time scale system that enables variable time scales and pausing and resuming. You can utilize it, ignore it, or easily allow your existing time system to control it.

Juicy Actions Clockchevron-right

If you use Magic Time, you can integrate that, and Juicy Actions will respect per-object timescales.

Magic Time Integrationchevron-right

If you have your own time class, you can easily create a bridge β€” or have your favorite AI create one for you!

Custom Time Bridge / Integrationschevron-right

Clock Flow Chart

The ActionExecutor is the core of the clock β€” each one can utilize different clock systems if needed. By default, they utilize the built-in JuicyActionsClock, which utilizes the DefaultClock copying the Unity time system, although with the ability to pause actions without pausing the Unity time system.

Start TimeScale

Juicy Actions Settings has an option for a default TimeScale. This is great when your entire project should start at a non standard Time Scale. However, if you have a single scene that you want to start at a different Time Scale, you can use the SceneTimeScaleOverride class. Throw that on any object, and the TimeScale will be set to the value you'd like.

circle-check

Last updated