Function elementalist::player::player_control::player_press_pause_system
source · fn player_press_pause_system(
query: Query<'_, '_, &ActionState<PlayerAction>, With<Player>>,
current_state: Res<'_, State<AppState>>,
next_overlay_state: ResMut<'_, NextState<Overlay>>
)
Expand description
Handle player pressing pause button