Yielding Not Working in a "for" Loop?

Basically I have a loop in the start () function like so:

var add = ["T", "e"];
var stop = 1.0;

function Start() {
    var myTextMesh = (GetComponent(TextMesh) as TextMesh);
    myTextMesh.text = "";
    for (i = 0; i < add.length; i++)
	{
		myTextMesh.text += add[i];
		yield WaitForSeconds (stop);
    }
}

I’m trying to add the letters, “T” and “e” using a loop, but whenever I start the game, it just adds “T”.

After Debug.Logging, I removed the yield statement, and it added both letters perfectly.

Does anyone know why this yield statement is acting up?

Thanks in advance!

Nothing wrong with the code; works fine here.
–Eric

Really? Might be a compile error.

Maybe I should re-import all?

Any suggestions?

Anyone?

did you pause the game? (time.timeScale = 0?)
if so, than its because of that.

Brilliant idea!

Thanks it worked perfectly!!!

glad i could help ^^

I really think it’d be worth unity coming with something like WaitForRealtimeSeconds.