Linking the octo localization system to the dialogue system
This commit is contained in:
@@ -158,8 +158,8 @@ namespace Unheimlich.Managers
|
||||
}
|
||||
Transform anchor = _currentChoiceAnchor;
|
||||
|
||||
string speakerName = _currentConversation.SpeakerName;
|
||||
string dialogueText = _currentNode.DialogueText;
|
||||
string speakerName = _currentConversation.GetLocalizedSpeakerName();
|
||||
string dialogueText = _currentNode.GetLocalizedDialogueText();
|
||||
DialogueDisplayMode displayMode = _currentConversation.DisplayMode;
|
||||
|
||||
_activeDialogueUI.ShowDialogueBox(speakerName, dialogueText, displayMode);
|
||||
|
||||
@@ -42,27 +42,21 @@ namespace Unheimlich.Managers
|
||||
|
||||
private void Start()
|
||||
{
|
||||
Debug.Log("[InputManager] Start() called");
|
||||
|
||||
if (OctoCore.OctoCore.Instance == null)
|
||||
{
|
||||
Debug.LogError("[InputManager] OctoCore.Instance is NULL!");
|
||||
return;
|
||||
}
|
||||
|
||||
Debug.Log("[InputManager] OctoCore.Instance exists");
|
||||
|
||||
if (OctoCore.OctoCore.Instance.Inputs == null)
|
||||
{
|
||||
Debug.LogError("[InputManager] OctoCore.Instance.Inputs is NULL!");
|
||||
return;
|
||||
}
|
||||
|
||||
Debug.Log("[InputManager] OctoCore.Instance.Inputs exists");
|
||||
|
||||
// Ensure we're subscribed
|
||||
SubscribeAllInputs();
|
||||
Debug.Log("[InputManager] Initialized and subscribed to OctoCore inputs.");
|
||||
}
|
||||
|
||||
private void OnDestroy()
|
||||
|
||||
Reference in New Issue
Block a user