MovieTexture.Play Manual     Reference     Scripting  
Scripting > Runtime Classes > MovieTexture
MovieTexture.Play

function Play () : void

Description

Starts playing the movie.

Note that a running MovieTexture will use a lot of CPU power, and it will continue running until it is manually stopped or a new level is loaded. See Also: Stop

function Start () {
renderer.material.mainTexture.Play ();
}