bevy/crates/bevy_state/src/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
..
computed_states.rs Separate state crate (#13216) 2024-05-09 18:06:05 +00:00
freely_mutable_state.rs Add more granular system sets for state transition schedule ordering (#13763) 2024-06-10 13:13:58 +00:00
mod.rs Add more granular system sets for state transition schedule ordering (#13763) 2024-06-10 13:13:58 +00:00
resources.rs fix docs around StateTransition and remove references to `apply_sta… (#13772) 2024-06-10 13:23:14 +00:00
state_set.rs Add more granular system sets for state transition schedule ordering (#13763) 2024-06-10 13:13:58 +00:00
states.rs Move utilities from examples to bevy_state and add concept of state-scoped entities (#13649) 2024-06-04 11:44:34 +00:00
sub_states.rs Add more granular system sets for state transition schedule ordering (#13763) 2024-06-10 13:13:58 +00:00
transitions.rs fix docs around StateTransition and remove references to `apply_sta… (#13772) 2024-06-10 13:23:14 +00:00