Files
przygody-pana-cegly/scripts/ui/credits.gd

6 lines
173 B
GDScript

extends Control
func _unhandled_input(event: InputEvent) -> void:
if event.is_action_pressed("ui_cancel"):
if UiManager.is_screen_on_top(self):
UiManager.pop_screen()