14 lines
398 B
GDScript
14 lines
398 B
GDScript
extends Panel
|
|
|
|
func _ready() -> void:
|
|
$MarginContainer/VSplitContainer/CenterContainer/VBoxContainer/StartButton.grab_focus()
|
|
|
|
func _on_StartButton_pressed() -> void:
|
|
get_tree().change_scene("res://scenes/menu/start_menu.tscn")
|
|
|
|
func _on_ExitButton_pressed() -> void:
|
|
get_tree().quit()
|
|
|
|
func _on_SettingsButton_pressed() -> void:
|
|
get_tree().change_scene("res://scenes/menu/settings_menu.tscn")
|