Page 1 of 1
Video play
Posted: Fri Jul 19, 2024 7:00 am
by mudukke
Just out of interest, can you play a video file from the dialogue nodes?
Re: Video play
Posted: Fri Jul 19, 2024 10:59 am
by Tony Li
Hi,
You could write a simple sequencer command to do it.
But an easy way that people tend to use is to put a VideoPlayer on an inactive GameObject with a unique name. In the dialogue entry's Sequence field, they use SetActive() to activate that GameObject. No need to write a custom sequencer command this way. Another alternative is to use an OnExecute() scene event.
Re: Video play
Posted: Fri Jul 19, 2024 11:31 am
by mudukke
Thanks again Tony!
Re: Video play
Posted: Fri Jul 19, 2024 11:41 am
by Tony Li
Happy to help!