Answer the question
In order to leave comments, you need to log in
Checking if the video is currently playing?
I need to load a certain scene after playing a video through VideoPlayer, but how can I know when the video is over?
while (...isPlaying)
{
yield return new;
}
Answer the question
In order to leave comments, you need to log in
Here is the required callback. If the video is without a loop, it will be called at the end of the video (hands should be beaten for such titles)
I don’t know why I didn’t notice this in the manual, well, in general, the VideoPlayer class has an isPlaying property
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question