pir-serious-game-ethics/scenes/UI.gd

5 lines
72 B
GDScript

extends Control
func _on_TextureButton_pressed():
$PauseMenu.pause()