Skip to main content

Module time

Module time 

Source
Expand description

Frame timing — TimePlugin inserts Time as a resource and ticks it once per frame in PreUpdate, before any gameplay system runs.

Structs§

Time
This tick’s frame timing. Cheap to read every system that needs it — delta_seconds/elapsed_seconds are plain f32, no locking.
TimePlugin
Registers Time as a resource and advances it once per frame.