/// Called when the dialogue system has started running. /// <inheritdoc/> public override void DialogueStart() { // Enable the dialogue controls. if (dialogueContainer != null) { dialogueContainer.SetActive(true); } DialogueStarted?.Invoke(); }
private void StartDialogue(DialogueStarted e) { _currentDialogue = new DialogueView(e.Dialogs); Branch.Add(_currentDialogue.Branch); _displayingDialogue = true; }