Files
Dawn-Godot/ui/UISingleton.gd
T
2026-06-11 20:11:32 -05:00

19 lines
412 B
GDScript

extends Node
var rootUi:RootUI = null
# True for the entire duration of a DialogueAction run, including the frames
# between lines where the textbox is momentarily closed.
var dialogueActive:bool = false
var DEBUG_MENU:
get():
if rootUi && rootUi.debugMenu:
return rootUi.debugMenu
return null
var TEXTBOX:
get():
if rootUi && rootUi.textBox:
return rootUi.textBox
return null