before the game menu want to put a video of my company, how do I when the video is over, automatically go to another scene? am beginner script I use to do this?
translated by google translator: Portuguese> English
before the game menu want to put a video of my company, how do I when the video is over, automatically go to another scene? am beginner script I use to do this?
translated by google translator: Portuguese> English
Unity can tell you if the video is playing or not, you should use this and the update function.
Here is a sample of code (that needs a little bit more -like variable declaration- but it should quick and easy for you to finish the job), in C#:
void Start(){
video.Play();
}
void Update () {
if (!video.isPlaying)
Application.LoadLevel("name of your level");
}