bevy/crates/bevy_state/src/state
Nick d20f8553bf
Fix misleading documentation of Main schedule (#18579)
# Objective

Fixes #18562.

## Solution

- Specified that `StateTransition` is actually run before `PreStartup`.
- Specified consequences of this and how to actually run systems before
any game logic regardless of state.
- Updated docs of `StateTransition` to reflect that it is run before
`PreStartup` in addition to being run after `PreUpdate`.

## Testing

- `cargo doc`
- `cargo test --doc`
2025-03-28 01:12:19 +00:00
..
computed_states.rs Add core and alloc over std Lints (#15281) 2024-09-27 00:59:59 +00:00
freely_mutable_state.rs Generic system config (#17962) 2025-03-12 00:12:30 +00:00
mod.rs Harden proc macro path resolution and add integration tests. (#17330) 2025-02-09 19:45:45 +00:00
resources.rs Move Resource trait to its own file (#17469) 2025-01-21 19:47:08 +00:00
state_set.rs Generic system config (#17962) 2025-03-12 00:12:30 +00:00
states.rs Generic system config (#17962) 2025-03-12 00:12:30 +00:00
sub_states.rs Use en-us locale for typos (#16037) 2024-10-20 18:55:17 +00:00
transitions.rs Fix misleading documentation of Main schedule (#18579) 2025-03-28 01:12:19 +00:00