Function bevy::input::system::exit_on_esc_system
[−]pub fn exit_on_esc_system(
keyboard_input_events: EventReader<'_, '_, KeyboardInput>,
app_exit_events: EventWriter<'_, '_, AppExit>
)
Expand description
Sends the AppExit
event whenever the “esc” key is pressed.