First of all, MovieTexture.isPlaying is not a script -- it's a variable in the MovieTexture class. And it's not a static member, which means you can only access it from an instance of the MovieTexture class. So assuming that renderer.material.mainTexture is a MovieTexture, then you what you actually want to be accessing is renderer.material.mainTexture.isPlaying.
↧