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