giants-godot/ui/menus/ingame_menu.gd

14 lines
284 B
GDScript3
Raw Normal View History

2021-09-17 15:04:05 +02:00
extends BaseUI
func _on_Resume_pressed():
close()
2021-09-17 15:04:05 +02:00
func _on_Options_pressed():
enter_ui(preload("res://ui/menus/options_menu.tscn"))
2021-10-01 15:50:16 +02:00
2021-09-17 15:04:05 +02:00
func _on_MainMenu_pressed():
get_tree().change_scene("res://scenes/intro_island/MainMenu.tscn")
func _on_ExitGame_pressed():
get_tree().quit()