Sequence Trigger (Script) vs Sequence Trigger (In Database)
-
- Posts: 45
- Joined: Sat Jul 30, 2016 8:37 am
Sequence Trigger (Script) vs Sequence Trigger (In Database)
What's the difference between the two? And also the advantages and disadvantages
Re: Sequence Trigger (Script) vs Sequence Trigger (In Database)
Hi,
Are you talking about this Sequence Trigger script:
versus the Sequence field in the Dialogue Editor?
If so, here are the differences:
The Sequence field runs when the Dialogue System shows the dialogue entry. (If the field is blank, the Dialogue System uses the Dialogue Manager's Default Sequence when showing the dialogue entry.)
The Sequence Trigger component runs outside of conversations. You can set it to run on a number of triggering events such as OnStart, OnEnable, OnTriggerEnter, etc. For example, in the Feature Demo scene, the Feature Demo GameObject has a Sequence Trigger that's set to OnStart. It runs the Fade(in) sequencer command when the scene starts.
Are you talking about this Sequence Trigger script:
versus the Sequence field in the Dialogue Editor?
If so, here are the differences:
The Sequence field runs when the Dialogue System shows the dialogue entry. (If the field is blank, the Dialogue System uses the Dialogue Manager's Default Sequence when showing the dialogue entry.)
The Sequence Trigger component runs outside of conversations. You can set it to run on a number of triggering events such as OnStart, OnEnable, OnTriggerEnter, etc. For example, in the Feature Demo scene, the Feature Demo GameObject has a Sequence Trigger that's set to OnStart. It runs the Fade(in) sequencer command when the scene starts.
-
- Posts: 45
- Joined: Sat Jul 30, 2016 8:37 am
Re: Sequence Trigger (Script) vs Sequence Trigger (In Database)
Oh I see, thank you