Loop through registered DialogueActors
Posted: Sun Dec 19, 2021 5:19 am
Hello,
How do I loop through registered DialogueActors?
I am trying to set some setting for all the registered DialgoueActors` gameObject's custom child component when OnConversationStart or OnConversationEnd.
Thank you,
How do I loop through registered DialogueActors?
Code: Select all
foreach (var actor in DialogueManager.conversants) { actor.DoSomething();}
Thank you,