Function bevy::time::update_virtual_time

pub fn update_virtual_time(
    current: &mut Time,
    virt: &mut Time<Virtual>,
    real: &Time<Real>
)
Expand description

Advances Time<Virtual> and Time based on the elapsed Time<Real>.

The virtual time will be advanced up to the provided Time::max_delta.