Function elementalist::game_overlays::status_screen::toggle_status_screen
source · fn toggle_status_screen(
next_state: ResMut<'_, NextState<Overlay>>,
state: Res<'_, State<Overlay>>,
query: Query<'_, '_, &ActionState<PlayerAction>, With<Player>>
)
Expand description
System to handle opening the status screen or closing it