pub fn apply_state_transition<S>(world: &mut World)
where S: States,
Expand description

If a new state is queued in NextState<S>, this system: