Referencing a Timeline in a Sequence Clip
Posted: Thu Sep 23, 2021 6:03 pm
Hello,
I am currently making a small Cutscene with Timelines to have Barks popup conversation text and pause the timeline.
Other than using a GameObject specific name, is there a way for the PlaySequenceClip to reference a Timeline?
Right now I have in a Sequence Clip:
Timeline(speed, NPC1, 0);
Timeline(speed, NPC1, 1)@Message(ResumeBark);
But I really do not want to use a specific name (NPC1) because there are multiple NPCs with the same GameObject name.
If there was a way the PlaySequenceTrack could automatically reference the Playable Director that is playing it, that would be ideal, if not being able to Drag the GameObject as the Ref for the PlaySequenceTrack itself. Is there a way I can set this up, or does the Dialogue System have something in place already?
I am currently making a small Cutscene with Timelines to have Barks popup conversation text and pause the timeline.
Other than using a GameObject specific name, is there a way for the PlaySequenceClip to reference a Timeline?
Right now I have in a Sequence Clip:
Timeline(speed, NPC1, 0);
Timeline(speed, NPC1, 1)@Message(ResumeBark);
But I really do not want to use a specific name (NPC1) because there are multiple NPCs with the same GameObject name.
If there was a way the PlaySequenceTrack could automatically reference the Playable Director that is playing it, that would be ideal, if not being able to Drag the GameObject as the Ref for the PlaySequenceTrack itself. Is there a way I can set this up, or does the Dialogue System have something in place already?