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

32 lines
624 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
var GAME_MENU:
get():
if rootUi && rootUi.gameMenu:
return rootUi.gameMenu
return null
var PAUSE_MENU:
get():
if rootUi && rootUi.pauseMenu:
return rootUi.pauseMenu
return null