I can’t stop my couroutines via StopCoroutine(“name”) - it troubles me…
Does anyone else have any problems with stopping them?
I can’t stop my couroutines via StopCoroutine(“name”) - it troubles me…
Does anyone else have any problems with stopping them?
no problem with that
sure you started it with StartCoroutine(“name”) too?
Coroutines that are started through StartCoroutine(name()) can’t be stopped
Wow! That’s something I was not aware of . :?
Fortunately the docs point this out. You can still use StopAllCoroutines to stop coroutines that weren’t started by the string method. Although that’s not always an option, considering that it does what it says (only per-script though, not all coroutines everywhere).
–Eric