A single timer's data. Multiple of these can live on one entity, keyed by slot name. Use justFinished to detect completion in your systems.
justFinished
Whether the timer is currently running
Target duration (seconds)
Time accumulated so far (seconds)
True for one frame after the timer completes
Optional
Optional callback invoked when the timer completes
Whether the timer repeats after completion
A single timer's data. Multiple of these can live on one entity, keyed by slot name. Use
justFinishedto detect completion in your systems.