Few questions about changing dialogue flow on runtime

Announcements, support questions, and discussion for the Dialogue System.
User avatar
Tony Li
Posts: 22062
Joined: Thu Jul 18, 2013 1:27 pm

Re: Few questions about changing dialogue flow on runtime

Post 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.
hellwalker
Posts: 112
Joined: Tue Jan 19, 2016 11:37 pm

Re: Few questions about changing dialogue flow on runtime

Post by hellwalker »

Works great, thanks!
User avatar
Tony Li
Posts: 22062
Joined: Thu Jul 18, 2013 1:27 pm

Re: Few questions about changing dialogue flow on runtime

Post by Tony Li »

Glad to help!
Post Reply