bevy/crates/bevy_state/src
Nick 11b3525065 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 23:33:00 +01:00
..
state Fix misleading documentation of Main schedule (#18579) 2025-03-28 23:33:00 +01:00
app.rs Generic system config (#17962) 2025-03-12 00:12:30 +00:00
commands.rs Add no_std support to bevy_state (#17028) 2024-12-29 23:28:18 +00:00
condition.rs Generic system config (#17962) 2025-03-12 00:12:30 +00:00
lib.rs Harden proc macro path resolution and add integration tests. (#17330) 2025-02-09 19:45:45 +00:00
reflect.rs Harden proc macro path resolution and add integration tests. (#17330) 2025-02-09 19:45:45 +00:00
state_scoped_events.rs Move hashbrown and foldhash out of bevy_utils (#17460) 2025-01-23 16:46:08 +00:00
state_scoped.rs bevy_reflect: Add clone registrations project-wide (#18307) 2025-03-17 18:32:35 +00:00