pub fn swap_to_fixed_update<A: Actionlike>(
query: Query<'_, '_, &mut ActionState<A>>,
action_state: Option<ResMut<'_, ActionState<A>>>,
)
Expand description
We are about to enter the FixedMain
schedule, so we:
- save all the changes applied to
state
into theupdate_state
- switch to loading the
fixed_update_state