Im having an issue right now using shared dialogue:
- I have one dialogue that used by multiple characters. I've assigned a generic actor from the Database. In this dialogue I have a lot sequencers command (AnimatorPlay, CinemachinePriority, LookAt, Timeline...)
-In my scenes I have multiples actors (with their hierarchy containing animators, virtual cams, transform used for sequences,...). Those actors each have a Dialogue Actor component with a unique name.
-I start this conversation assigning the transform of this unique actor from script like this:
Code: Select all
DialogueManager.StartConversation(targetConversation, this.transform, this.transform,entry);
For example if my sequence is :
Code: Select all
CinemachinePriority(CM actorCam1, 999);
So my question is: Can I (and should I?) change the way the GetSubject() methods work in the SequencerCommand.cs, to try and first look for an transform with a matching name in children of the speaker first?
Thank you!