Unity async / await: Coroutine's Hot Sister [C# & Unity]
The C# async / await workflow can simplify your code and give you more granular control over your game in Unity. Learn how to convert your current coroutine workflow, what a task is, how to run sequential and synchronous code and how to return data from an asynchronous function. UniTask: https://github.com/Cysharp/UniTask (Provides an efficient allocation free async/await integration for Unity) ❤️ Become a Tarobro on Patreon: https://www.patreon.com/tarodev Alternatively, you could use my affiliate link to buy assets from the asset store: https://bit.ly/3yratKw It comes at no additional cost to you, I will just receive a commission :) ========= SUBSCRIBE: https://bit.ly/3eqG1Z6 ️ DISCORD: https://discord.gg/GqeHHnhHpz ✅ MORE TUTORIALS: https://www.youtube.com/tarodev 0:00 Super professional intro 0:30 Standard coroutine workflow 1:19 Converting to async / await 2:44 Use-cases of async / await 3:10 Running functions sequentially 6:00 Waiting for synchronous tasks to complete 10:20 Mixing sequential