Hi, yields WaitForSeconds in this code is not working and I don´t know why, someone can help me?
var clock_b1 : Texture2D[];
var clock_b : GameObject;
var i = 0;
function PlayAnim () {
if(i < 11 ){
i++;
clock_b.guiTexture.texture = clock_b1*;*
yield WaitForSeconds (1);
}else{
i=0;
}
}