typo on schedule StateTransitions name in example (#8443)
# Objective - Fix a typo ## Solution - Fix the typo
This commit is contained in:
parent
d8102a0a04
commit
347dc0982c
@ -12,7 +12,7 @@ fn main() {
|
||||
.add_plugins(DefaultPlugins)
|
||||
.add_state::<AppState>()
|
||||
.add_systems(Startup, setup)
|
||||
// This system runs when we enter `AppState::Menu`, during the `StateTransitions` schedule.
|
||||
// This system runs when we enter `AppState::Menu`, during the `StateTransition` schedule.
|
||||
// All systems from the exit schedule of the state we're leaving are run first,
|
||||
// and then all systems from the enter schedule of the state we're entering are run second.
|
||||
.add_systems(OnEnter(AppState::Menu), setup_menu)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user