I want to use the MovieTexture.isPlaying script to jump to a new level. I am getting the message " an instance of type ‘UnityEngine.Movie Texture’ is required to access non static member ‘isPlaying’"
I have a movie texture and attached the script below to the object with the movie texture. Can someone tell me what this means? Thanks.
renderer.material.mainTexture.Play();
function Update () {
if (MovieTexture.isPlaying) {
}
else
{
Application.LoadLevel (“home_sc_instant”);
}
}