- Home /
Question by
kou · Dec 14, 2012 at 03:06 PM ·
webplayercoroutineyieldwaitforseconds
yield WaitForSeconds compatibility?
I'm getting totally different results in Editor and webplayer when using WaitForSeconds, seems like webplayer simply ignores this function and waits for no single second.
This is how it works:
function GetImageFromURL(url:String){
...
yield www;
if(!www.error){
yield WaitForSeconds(4);
DoTheRest();
}
}
Thank you for taking time.
Comment
Posting up your actual code would be a big help. That way I could try the code in Editor, Standalone, AND Webplayer to pinpoint the issue. Post the code you're using and I'll be happy to take a look.
Your answer
Follow this Question
Related Questions
Another yield not working problem 2 Answers
Understanding yield inside a for or a while loop 2 Answers
lock a target after a few seconds 1 Answer