the_tower/game/player/Menu.gd

9 lines
185 B
GDScript3
Raw Normal View History

2020-06-11 12:23:35 +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)