You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -492,10 +492,9 @@ As stated abovethe library include 2 main parts:
492
492
* Core tools (defined in `UnityFx.Async.dll` assembly, do not depend on Unity3d);
493
493
* Unity3d-specific tools (defined as a collection of C# scripts if installed as an Asset Store package, require Unity3d to compile/execute).
494
494
495
-
Everything described before (unless specified otherwise) does not require Unity and can be used in any application. The Unity-specific stuff is located in 3 classes:
495
+
Everything described before (unless specified otherwise) does not require Unity and can be used in any application. Essential Unity-specific stuff is located in classes:
496
496
*`AsyncUtility`. Defines helper methods for accessing main thread in Unity, running coroutines without actually using a `MonoBehaviour` and waiting for native Unity asynchronous operations outside of coroutines.
497
497
*`AsyncWww`. Defines web request related helpers.
498
-
*`UnityExtensions`. Defines extensions for native Unity classes (like `AsyncOperation` and `UnityWebRequest`).
499
498
500
499
For example, one can throw a few lines of code to be executed on a main thread using:
Copy file name to clipboardExpand all lines: src/UnityFx.Async.AssetStore/Assets/Plugins/UnityFx.Async/Scripts/Extensions/YieldInstructionExtensions.cs
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,7 @@ public static class YieldInstructionExtensions
20
20
/// Returns the operation awaiter. This method is intended for compiler use only.
21
21
/// </summary>
22
22
/// <param name="op">The operation to await.</param>
23
+
[Obsolete("Task-related helpers are out of the library scope. Please use UnityFx.Tasks instead.")]
0 commit comments