bevy/crates/bevy_state/src
Lee-Orr a3916b4af4
fix docs around StateTransition and remove references to `apply_sta… (#13772)
The documentation for the `State` resource still referenced the use of
`apply_state_transition` to manually force a state transition to occur,
and the question around how to force transitions had come up a few times
on discord.

This is a docs-only change, that does the following:
- Properly references `StateTransition` in the `MainSchedule` docs
- replace the explanations for applying `NextState` with ones that
explain the `StateTransition` schedule, and mentions the possibility of
calling it manually
- Add an example of calling `StateTransition` manually in the docs for
the state transition schedule itself.

---------

Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
2024-06-10 19:31:41 +02:00
..
state fix docs around StateTransition and remove references to `apply_sta… (#13772) 2024-06-10 19:31:41 +02:00
app.rs Clear messed up feature flag on AppExitStates impl (#13737) 2024-06-09 16:22:50 +02:00
condition.rs rename the crate bevy_state_macros_official back to its original name (#13732) 2024-06-09 01:18:07 +02:00
lib.rs Add more granular system sets for state transition schedule ordering (#13763) 2024-06-10 19:31:41 +02:00
state_scoped.rs Generalize StateTransitionEvent<S> to allow identity transitions (#13579) 2024-06-04 14:23:24 +00:00