コード例 #1
0
        /// 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();
        }
コード例 #2
0
 private void StartDialogue(DialogueStarted e)
 {
     _currentDialogue = new DialogueView(e.Dialogs);
     Branch.Add(_currentDialogue.Branch);
     _displayingDialogue = true;
 }