Function bevy_time::virtual_time_system
source · pub fn virtual_time_system(
current: ResMut<'_, Time>,
virt: ResMut<'_, Time<Virtual>>,
real: Res<'_, 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
.