We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a9c469 commit 9dadde0Copy full SHA for 9dadde0
examples/ecs/state.rs
@@ -14,7 +14,7 @@ fn main() {
14
.add_startup_system(setup)
15
// This system runs when we enter `AppState::Menu`, during `CoreSet::StateTransitions`.
16
// All systems from the exit schedule of the state we're leaving are run first,
17
- // and then all systems from the enter schedule of the state we're leaving are run second.
+ // and then all systems from the enter schedule of the state we're entering are run second.
18
.add_system_to_schedule(OnEnter(AppState::Menu), setup_menu)
19
// By contrast, on_update systems are stored in the main schedule, during CoreSet::Update,
20
// and simply check the value of the `State<T>` resource to see if they should run each frame.
0 commit comments