Possible Duplicates:
Hi, I think this IEnumerator here, just don't run... Why?
class Joemerson
{
static function Falar(numero : int)
{
Legenda.texto = "haha";
Ler(numero);
}
private static function Ler(n : int)
{
Legenda.texto = "hehe";
...
while(something)
{
yield WaitForEndOfFrame();
}
}
}
"Legenda.texto" change the text of a GUItext, and with the change, another script show it at the screen in the same time...
The output is: haha
So, the IEnumerator just don't run!
Help!
Stop the hell posting a milion questions on the same topic and stop mark answers that doesn't work as solved! Read the FAQs!!! http://answers.unity3d.com/questions/45330/static-ienumerator http://answers.unity3d.com/questions/45348/bce0005-unknown-identifier-startcoroutine
– Bunny83Quite a reaction. But the point is being made.
– Statement