Hello there!
I have this simple question. If you execute this: what will happen? Because i debbug it and it seems it continue executing, but it nere restarts, can someone explain me how it works a little better?
IEnumerator Deambular()
{
StopAllCoroutines();
if (something) // THINGS A
else
{
// THINGS B
yield return new WaitForSeconds(3));
StartCoroutine(Deambular());
}
}
I wil never restart itself due that StopAllCoroutines, right=? Or What ?
Thanks in advance