Function bevy_time::time_system

source ·
pub fn time_system(
    real_time: ResMut<'_, Time<Real>>,
    virtual_time: ResMut<'_, Time<Virtual>>,
    time: ResMut<'_, Time>,
    update_strategy: Res<'_, TimeUpdateStrategy>,
    time_recv: Option<Res<'_, TimeReceiver>>,
    has_received_time: Local<'_, bool>
)
Expand description

The system used to update the Time used by app logic. If there is a render world the time is sent from there to this system through channels. Otherwise the time is updated in this system.