breadwinner/scenes/main_menu/main_menu_control.gd
Balogh Krisztián 24e89d9383 minor additions
main menu updated
2026-08-17 16:38:10 +02:00

27 lines
611 B
GDScript

extends Control
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass
func _on_button_pressed() -> void:
UiManager.toggle_self()
SceneLoader.load_scene("uid://c5p2fbgi8co1c")
func _on_button_2_pressed() -> void:
UiManager.toggle_self()
SceneLoader.load_scene("uid://chykk2a3opu0d")
func _on_button_3_pressed() -> void:
print("options")
func _on_button_4_pressed() -> void:
print("exit")
get_tree().quit()