Playmaker with Juicy Actions Clock

v1.0

Juicy Actions comes with it's own Clock & Time Scales. This enables more precise time management globally and per object. Each ActionExecutor can choose to use the Unity time, Juicy Actions clock, or unscaled time.

Want to Ignore Juicy Actions Clock?

You can entirely ignore the Juicy Actions Clock by setting the Action Executor to use Unity time in the Inspector. You can set the Juicy Actions Settings file to automatically make ActionExecutor components follow Unity time β€” by default they follow the Juicy Clock.

Want to Force Unity Time Scale to follow Juicy Actions Time Scale?

The Juicy Actions Settings file has a Sync Unity Time Scale option. When true, the Time.timeScale will automatically match Juicy Actions Time Scale. Anything which utilizes Time.deltaTime etc will automatically be matched.

Get / Set Juicy Actions Clock Time Scale

The JuicyActionClockGetTime Playmaker action will record the current Time Scale to a variable of your choice.

The JuicyActionsClockSetTimeScale Playmaker action will set the Time Scale.

Waiting for Juicy Action Time Duration

The JuicyActionsWait Playmaker action will wait for a duration based on the Juicy Actions Time Scale, rather than Time.TimeScale.

Toggle Realtime on to measure the duration against Time.realtimeSinceStartup, which means it will complete in real-world time, ignoreing all clocks Time Scale and pause values. This is mainly intended for UI elements, which may need to ignore when TimeScale is 0.

Last updated