FuncIt/Game/source/assets/scripts/ui-element-handlers/simple_prompt.gd
Alan Alexander Cerna bde1f29107 [Major] Finished product development - Stage I
The activation of finished product development in a combined development environment.
2021-11-02 13:54:16 +02:00

11 lines
150 B
GDScript

extends Control
func _on_ok_pressed():
get_tree().change_scene("res://scenes/main_menu.tscn")
func set_text(text) -> void:
$Label.text = text