Page 3 of 3

Re: Few questions about changing dialogue flow on runtime

Posted: Thu Mar 23, 2017 2:11 pm
by Tony Li
Try this:

Code: Select all

foreach (var sequencer in DialogueManager.Instance.GetComponents<Sequencer>()) {
    sequencer.Stop();
}
I'm not sure how you're starting the sequence to begin with, so the code above generically stops all sequencers.

Re: Few questions about changing dialogue flow on runtime

Posted: Fri Mar 24, 2017 7:55 pm
by hellwalker
Works great, thanks!

Re: Few questions about changing dialogue flow on runtime

Posted: Fri Mar 24, 2017 8:31 pm
by Tony Li
Glad to help!