UI improvements
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
extends Node
|
||||
|
||||
const _FocusStackScript = preload("res://ui/UIFocusStack.gd")
|
||||
|
||||
var rootUi:RootUI = null
|
||||
var interactIndicator:InteractIndicator = null
|
||||
var FOCUS_STACK:RefCounted = null
|
||||
|
||||
# True whenever any dialogue resource is being processed by DialogueManager.
|
||||
# Driven by DialogueManager.dialogue_started / dialogue_ended signals.
|
||||
@@ -11,6 +14,7 @@ var dialogueActive:bool = false
|
||||
var activeConversation:bool = false
|
||||
|
||||
func _ready() -> void:
|
||||
FOCUS_STACK = _FocusStackScript.new()
|
||||
DialogueManager.dialogue_started.connect(_onDialogueStarted)
|
||||
DialogueManager.dialogue_ended.connect(_onDialogueEnded)
|
||||
SCENE.sceneChanged.connect(_onSceneChanged)
|
||||
|
||||
Reference in New Issue
Block a user