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

var isReadyToPlay : bool


If the movie is downloading from a web site, this returns if enough data has been downloaded so playback should be able to start without interruptions.

For movies not associated with a web stream, this value always returns true.

function Start () {
www = new WWW (url);
guiTexture.texture =;

function Update () {
if (!guiTexture.texture.isPlaying && guiTexture.texture.isReadyToPlay)
guiTexture.texture.Play ();