Overview
v1.0
Last updated
Was this helpful?
v1.0
Last updated
Was this helpful?
Magic Time - Local Time Scale is a powerful tool bringing independent and stackable time scale behaviors to your project.
Each has its own and can subscribe to any number of additional Local Time Scales, combining their effects. For example, most projects will likely have a "Global" Local Time Scale object.
In the GIF below, the projectile and characters are passing through a which automatically subscribes objects to its own LocalTimeZone, so they are affected by it.
Then, whereever you'd call Time.deltaTime
or similar Time
values, call the DeltaTime
(or similar) from your class instead! The object is now able to be controlled with Magic Time.
Here's a simple example of how you might use this in your code.
For each class that you want to have a Local Time Scale, inherit that from (a MonoBehaviour
).
Magic Time integrations seamlessly with and !