Begin UI refactor

This commit is contained in:
2026-01-09 20:52:47 -06:00
parent e7f55fd731
commit bcf5249067
16 changed files with 92 additions and 50 deletions

11
ui/RootUI.gd Normal file
View File

@@ -0,0 +1,11 @@
class_name RootUI extends Control
@export var debugMenu:DebugMenu
@export var textBox:VNTextbox
func _enter_tree() -> void:
UI.rootUi = self
func _exit_tree() -> void:
if UI.rootUi == self:
UI.rootUi = null