Re: Few questions about changing dialogue flow on runtime
Posted: Thu Mar 23, 2017 2:11 pm
Try this:
I'm not sure how you're starting the sequence to begin with, so the code above generically stops all sequencers.
Code: Select all
foreach (var sequencer in DialogueManager.Instance.GetComponents<Sequencer>()) {
sequencer.Stop();
}