the_tower_pandemonium/game/player/Menu.gd

9 lines
185 B
GDScript3
Raw Normal View History

2022-10-01 12:52:55 +02:00
extends CenterContainer
func _ready():
$Main/VBoxContainer/Resume.connect("pressed", self, "on_pressed")
func on_pressed():
hide()
Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED)