Playing a movie texture. No .Play() definition in UnityEngine.Texture class (Documentation seems to think there should be)

Hey,

I’m trying to play a movie that I have placed as a texture onto a material.

The movie texture script reference says the following:

// this line of code will make the Movie Texture begin playing
renderer.material.mainTexture.Play();

However the Texture class does not contain a definition for Play().
Can anyone tell me where I’m going wrong?

My object has several materials so I am referencing the one with the movie texture on using renderer.materials[index] but I’ve also tried on an object with just one material and referenced it via the the example code supplied above.

Try this method as described in the documentation

You can see the site below, I think it can help you