Begin UI refactor
This commit is contained in:
15
ui/UISingleton.gd
Normal file
15
ui/UISingleton.gd
Normal file
@@ -0,0 +1,15 @@
|
||||
extends Node
|
||||
|
||||
var rootUi:RootUI = null
|
||||
|
||||
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
|
||||
Reference in New Issue
Block a user