giants-godot/ui/menus/main_menu.gd

11 lines
228 B
GDScript3
Raw Normal View History

2021-09-17 15:04:05 +02:00
extends BaseUI
func _on_Start_pressed():
get_tree().change_scene("res://scenes/playground.tscn")
func _on_Quit_pressed():
get_tree().quit()
func _on_Options_pressed():
enter_ui(preload("res://ui/menus/options_menu.tscn"))