Provides an efficient allocation free async/await integration for Unity. Struct-based UniTask<T> and custom AsyncMethodBuilder to achieve zero allocation. Makes all Unity AsyncOperations and Coroutines awaitable. PlayerLoop-based task(UniTask.Yield, UniTask.Delay, UniTask.DelayFrame, etc..) that enables replacing all coroutine operations. MonoBehaviour Message Events and uGUI Events as awaitable/async-enumerable. Runs completely on Unity's PlayerLoop so doesn't use threads and runs on WebGL, wasm, etc. Asynchronous LINQ, with Channel and AsyncReactiveProperty. TaskTracker window to prevent memory leaks. Highly compatible behavior with Task/ValueTask/IValueTaskSource. In UniTask v2, almost everything is zero-allocated due to a thorough rewrite of the code (Technical details to follow). In addition to significant performance improvements, the new asynchronous sequences, and Asynchronous LINQ.

Features

  • Awaitable Events
  • Cancellation and Exception handling
  • Allocation on Profiler
  • UniTaskTracker
  • External Assets
  • UniTask features rely on C# 7.0

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow UniTask

UniTask Web Site

You Might Also Like
Gain insights and build data-powered applications Icon
Gain insights and build data-powered applications

Your unified business intelligence platform. Self-service. Governed. Embedded.

Chat with your business data with Looker. More than just a modern business intelligence platform, you can turn to Looker for self-service or governed BI, build your own custom applications with trusted metrics, or even bring Looker modeling to your existing BI environment.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of UniTask!

Additional Project Details

Programming Language

C#

Related Categories

C# Games, C# Software Development Software

Registered

2022-06-06