Skip to content

Commit

Permalink
changed First to PreUpdate in invisible example schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
clinuxrulz committed Feb 16, 2024
1 parent 293445b commit 228fe9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/invisible.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fn main() {
.add_plugins(WorldInspectorPlugin::new())
.add_plugins(VirtualJoystickPlugin::<String>::default())
.add_systems(Startup, create_scene)
.add_systems(First, update_joystick_visibility)
.add_systems(PreUpdate, update_joystick_visibility)
.add_systems(Update, update_joystick)
.run();
}
Expand Down

0 comments on commit 228fe9d

Please sign in to comment.