now the changer works, might be an inferior raytracer addon tho, will have to test it out more
27 lines
629 B
GDScript
27 lines
629 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()
|
|
get_tree().change_scene_to_file("uid://c5p2fbgi8co1c")
|
|
|
|
func _on_button_2_pressed() -> void:
|
|
UiManager.toggle_self()
|
|
get_tree().change_scene_to_file("uid://chykk2a3opu0d")
|
|
|
|
func _on_button_3_pressed() -> void:
|
|
print("options")
|
|
|
|
|
|
func _on_button_4_pressed() -> void:
|
|
print("exit")
|
|
get_tree().quit()
|