
Unity Coroutines - Neat and tidy ways to know when they're done!
Unity coroutines should be in every game developer's toolbox. But knowing when a coroutine finishes can be tricky or at least messy. This video looks at how coroutines can yield for other coroutines as well as take in an action, event, or delegate - both provide ways of knowing when a coroutine is done or complete.
Video Links
************
Events, Actions, Delegates: https://youtu.be/UWMmib1RYFE
(Original) Coroutine Video: https://youtu.be/t4m8pmahbzY
Support the Channel!
**********************
► Buy me a coffee: https://www.buymeacoffee.com/onewheelstudio
► Shop the Unity Asset Store (affiliate): https://assetstore.unity.com/top-assets/top-paid?aid=1100lHSw
► Become A Channel Member: https://www.youtube.com/channel/UCkr9CPPqT9VWUjkpo3HcACg/join
► Or a Patron: https://www.patreon.com/onewheelstudio
► My video and streaming kit: https://kit.co/onewheelstudio/tutorial-video-production
► Buy a Game Design Book: https://kit.co/onewheelstudio/game-design-reading-list-unity-c-blender-and-more
Video Gear List (Amazon Affiliate)
***********************************
► Sony A6100 Camera: https://amzn.to/32logXz
► Sigma 16mm 1.4 Camera Lens: https://amzn.to/3KA4Wr4
► GoXLR (audio interface): https://amzn.to/35dmr03
► Shure SM7B Mic: https://amzn.to/3fNbV1E
► Blue Mic Arm: https://amzn.to/3tHgwdQ
Neewer Light: https://amzn.to/3rD8eRv
Light Softbox: https://amzn.to/3GUaHgQ
Neewer RGB Light: https://amzn.to/3rCTQJ9
Other Links
************
Discord: http://discord.onewheelstudio.com
Twitter: https://twitter.com/OneWheelStudio
Devlog: https://onewheelstudio.com/
Twitch: https://go.twitch.tv/onewheelstudio
Timestamps
*************
0:00 Intro
0:19 Backstory
0:50 The Usual Solution
1:55 Yielding to Coroutines
4:46 It's useful!! Here's an example!
5:46 Intro to the BEST solution
5:56 Using actions with coroutines
8:21 Example - yielding with actions








![[2D 게임 개발 꿀팁 시리즈] 모바일 성능과 쓰로틀링](https://img.youtube.com/vi/z0bkXem0g7o/hqdefault.jpg)

![[2D 게임 개발 꿀팁 시리즈] 2D 게임에 3D 오브젝트 쉽게 사용하는 방법](https://img.youtube.com/vi/8ytJW1I6Agg/hqdefault.jpg)
![[2D 게임 개발 꿀팁 시리즈] 그림자 최적화로 60FPS](https://img.youtube.com/vi/L494gnEHr5A/hqdefault.jpg)
![[2D 게임 개발 꿀팁 시리즈] 메모리 절약 스프라이트 5가지](https://img.youtube.com/vi/-cxbULpRSXE/hqdefault.jpg)

![[2D 게임 개발 꿀팁 시리즈] Sprite Shape vs. Tilemap](https://img.youtube.com/vi/q5Yeif-jJ2I/hqdefault.jpg)
![[2D 게임 개발 꿀팁 시리즈] 2D 배칭 최적화](https://img.youtube.com/vi/zMMACezlItM/hqdefault.jpg)


![Cards: Tidy Up! [Demo Out Now]](https://img.youtube.com/vi/6DDIfmMYYFs/hqdefault.jpg)
![[2D 게임 개발 꿀팁 시리즈] 2D 배칭 조건](https://img.youtube.com/vi/5DstF95ojw0/hqdefault.jpg)







![[2D 게임 개발 꿀팁 시리즈] 2D 게임 그림자 성능](https://img.youtube.com/vi/yMrlutMnhpc/hqdefault.jpg)













![[2D 게임 개발 꿀팁 시리즈] 2D 배칭](https://img.youtube.com/vi/0HO_7fwC_6A/hqdefault.jpg)































![[2D 게임 개발 꿀팁 시리즈] Runtime Sprite Atlas](https://img.youtube.com/vi/ocFwQ4sogDo/hqdefault.jpg)
























































































































































