Files
Dawn-Godot/scripts/Singleton/UI.gd
2025-05-07 10:33:00 -05:00

10 lines
302 B
GDScript

class_name UISystem extends Control
func _process(delta: float) -> void:
# This needs to always be at the end of the parent node's tree
get_parent().move_child(self, get_parent().get_child_count() - 1)
func showQuestsMenu(questKey = null) -> void:
$QuestMenu.setQuest(questKey)
$QuestMenu.show()