bevy/crates/bevy_state
Lee-Orr 7ec301c48d
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 13:23:14 +00:00
..
macros rename the crate bevy_state_macros_official back to its original name (#13732) 2024-06-07 12:49:21 +00:00
src fix docs around StateTransition and remove references to `apply_sta… (#13772) 2024-06-10 13:23:14 +00:00
Cargo.toml rename the crate bevy_state_macros_official back to its original name (#13732) 2024-06-07 12:49:21 +00:00