giants-godot/ui/menus/ingame_menu.gd

14 lines
284 B
GDScript

extends BaseUI
func _on_Resume_pressed():
close()
func _on_Options_pressed():
enter_ui(preload("res://ui/menus/options_menu.tscn"))
func _on_MainMenu_pressed():
get_tree().change_scene("res://scenes/intro_island/MainMenu.tscn")
func _on_ExitGame_pressed():
get_tree().quit()