for example
StartCoroutine(“test”);
StartCoroutine(“test”);
IEnummerator test(){
yield return new WaitForSeconds(2);
Debug.Log(“calling”);
}
will it double the calls or just overwrite the first coroutine that was called
for example
StartCoroutine(“test”);
StartCoroutine(“test”);
IEnummerator test(){
yield return new WaitForSeconds(2);
Debug.Log(“calling”);
}
will it double the calls or just overwrite the first coroutine that was called
it should actually double it. if you want to “overwrite” the first, you have to put a StopCoroutine(“test”) in prior calling the second one
ah, ok thanks