This repository has been archived on 2025-09-12. You can view files and clone it, but cannot push or open issues or pull requests.
ld47/game/menu/CreditsPopup.gd
2020-10-05 10:50:26 +02:00

10 lines
238 B
GDScript

extends Popup
func _process(delta: float) -> void:
if Input.is_action_just_pressed("ui_cancel"):
hide()
func _gui_input(event):
if event is InputEventMouseButton:
if event.button_index == BUTTON_LEFT and !event.pressed:
hide()