Example #1
0
 private void Start()
 {
     if (_graph != null)
     {
         _graph.Flow.SetStartNode(_graph.FindStartNode());
     }
 }
        public void StartDialogue()
        {
            if (_dialogueGraph == null || _started)
            {
                return;
            }
            _dialogueGraph.Flow.SetStartNode(_dialogueGraph.FindStartNode());
            _waiting = false;
            _started = true;

            if (OnDialogueStart != null)
            {
                OnDialogueStart();
            }
        }