UniTask Async/Await for Unity
Overview
UniTask provides efficient async/await support for Unity with zero allocation, proper cancellation, and Unity lifecycle integration.
When to Use
- Async operations in Unity (loading, networking, delays)
- Replacing coroutines with async/await
- Managing cancellation in MonoBehaviours
- Async initialization patterns
- Parallel async operations
Installation
// manifest.json
"com.cysharp.unitask": "https://github.com/Cysharp/UniTask.gi
[Description truncada. Veja o README completo no GitHub.]