Files
Dawn-Godot/ui/RootUI.gd
2026-01-09 20:52:47 -06:00

12 lines
218 B
GDScript

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