mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 04:33:37 +00:00
6d0b7504a2
# Objective Fixes #13711 ## Solution Introduce smaller, generic system sets for each schedule variant, which are ordered against other generic variants: - `ExitSchedules<S>` - For `OnExit` schedules, runs from leaf states to root states. - `TransitionSchedules<S>` - For `OnTransition` schedules, runs in arbitrary order. - `EnterSchedules<S>` - For `OnEnter` schedules, runs from root states to leaf states. Also unified `ApplyStateTransition<S>` schedule which works in basically the same way, just for internals. ## Testing - One test that tests schedule execution order --------- Co-authored-by: Lee-Orr <lee-orr@users.noreply.github.com> |
||
---|---|---|
.. | ||
computed_states.rs | ||
custom_transitions.rs | ||
states.rs | ||
sub_states.rs |