Taming Coroutines - Unity Tips
https://www.youtube.com/watc...In this video, I show an interesting idea of how to improve the way we start coroutines in Unity. This approach allows us to easily check whether or not our coroutine is still running or even dispatch an event once it's finished. Similarly to how AsyncOperations work.
Sources:
https://gist.github.com/aarthificial/ede29922a78c879f672c85cee41443bd
Support me on Patreon:
https://www.patreon.com/aarthificial
Timestamps:
0:00 IEnumerator
1:58 Controlling a coroutine
2:53 Waiting for other coroutines
#unity #unitytips #gamedev