Unity Coroutines - Neat and tidy ways to know when they're done!
Автор: One Wheel Studio
Загружено: 2022-09-08
Просмотров: 7874
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: • Delegates, Events, Actions and Funcs - The...
(Original) Coroutine Video: • Unity Coroutines - What? Why? How?
Support the Channel!
**********************
► Buy me a coffee: https://www.buymeacoffee.com/onewheel...
► Shop the Unity Asset Store (affiliate): https://assetstore.unity.com/top-asse...
► Become A Channel Member: / @onewheelstudio
► Or a Patron: / onewheelstudio
► My video and streaming kit: https://kit.co/onewheelstudio/tutoria...
► Buy a Game Design Book: https://kit.co/onewheelstudio/game-de...
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: / onewheelstudio
Devlog: https://onewheelstudio.com/
Twitch: / 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

Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: