Page 1 of 1

default commands in other scripts?

Posted: Wed Sep 28, 2022 1:47 am
by robster21
How can I invoke the default commands (e.g. Fade(), SpineAnimation()) in other scripts?

Re: default commands in other scripts?

Posted: Wed Sep 28, 2022 9:16 am
by Tony Li
Hi,

You can use DialogueManager.PlaySequence(). Example:

Code: Select all

Debug.Log("Farewell...");
DialogueManager.PlaySequence("Fade(stay)");

Re: default commands in other scripts?

Posted: Wed Sep 28, 2022 9:04 pm
by robster21
It works, thank you! :))))

Re: default commands in other scripts?

Posted: Wed Sep 28, 2022 9:28 pm
by Tony Li
Happy to help!