Await Extensions
Redcode Games
$0.0
Date |
Price |
---|---|
日期和时间 |
价钱($) |
09/14(2018) |
0.0 |
11/19(2024) |
0.0 |
Jump AssetStore
Await Extension gives you the opportunity to use async/await with many unity types! It incredibly simplifies work with threads and switching between them.Here what you can await with Await Extensions: WaitFofEndOfFrameWaitForFixedUpdateWaitForSecondsWaitForSecondsRealtimeWaitUntilWaitWhileIEnumeratorAssetBundleRequestYieldInstructionCustomYieldInstructionCoroutineAsyncOperationUnityWebRequest And many other derived classes!You can just await WaitForBackgroundThread for run your code in background thread, or await WaitForUpdate to runs on main thread!For old projects (which use coroutines anywhere) this asset provide AsEnumerator and AsCoroutine task extension methods, which convert the task to one of them. This is useful for backward compatibility.Now you do not need use coroutines directly, just await what you need!AwaitExtensions is written in pure C# and supports all platforms!Just read small documentation here and make your life easier!