I remember I used to yield WaitForSeconds(2);
Those were the days.
This is what I tried.
public IEnumerator wait(int secs)
{
yield return new WaitForSeconds(secs);
}
I remember I used to yield WaitForSeconds(2);
Those were the days.
This is what I tried.
public IEnumerator wait(int secs)
{
yield return new WaitForSeconds(secs);
}
That’ll work just fine provided you actually do something after you wait - which that code does not.
Oh that’s weird then. I’ll try again. Thanks