diff options
Diffstat (limited to 'UI/Menu/MenuButton.gd')
-rw-r--r-- | UI/Menu/MenuButton.gd | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/UI/Menu/MenuButton.gd b/UI/Menu/MenuButton.gd new file mode 100644 index 0000000..e116acb --- /dev/null +++ b/UI/Menu/MenuButton.gd @@ -0,0 +1,6 @@ +extends Button + + +# freeze current scene and overlay Menu.tscn +func _on_MenuButton_pressed(): + Global.open_menu() |