Timer component data structure. Use justFinished to detect timer completion in your systems.
justFinished
Whether timer is currently running
Target duration (seconds)
Time accumulated so far (seconds)
True for one frame after timer completes
Optional
Optional callback invoked when timer completes
Whether timer repeats after completion
Timer component data structure. Use
justFinishedto detect timer completion in your systems.