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
Hi, my name's Jacob. I make concise videos about the technical side of game development.
I'm currently working on my own game: Astortion.
It's a minimalistic, atmospheric puzzle-platformer that revolves around gravity.
You can wishlist it on Steam:
https://store.steampowered.com/app/1993980/Astortion/
Currently working on Astortion
Astortion is a minimalistic, atmospheric puzzle-platformer that revolves around gravity. Explore the ruins of the most pivotal research facility on earth, unlock new abilities that mess with spacetime itself, and get to the bottom of what is going on.
https://store.steampowered.com/app/...Subscribers