Use UniTask to Delay your Code in Unity

Опубликовано: 19 Ноябрь 2024
на канале: NotJustUnity
6,197
84

UniTask: https://github.com/Cysharp/UniTask

UniTask is a powerful library for handling asynchronous operations in Unity. With UniTask, you can write clean and efficient code for your games that is easy to read and maintain. In this tutorial, we'll cover the basics of UniTask and show you how to use it in your Unity projects.

Timeline:
0:00 Introduction & Adding UniTask to your project
0:59 Use The Coroutine Approach
2:25 Using UniTask.Delay
5:58 Using UniTask in Normal C# Class

#asyncawait #asynchronous #unity #unity3d #gamedev