We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76efbc8 commit a27545eCopy full SHA for a27545e
Assets/MRTK/Core/Utilities/Async/AwaiterExtensions.cs
@@ -76,6 +76,7 @@ public static SimpleCoroutineAwaiter GetAwaiter(this WaitWhile instruction)
76
return GetAwaiterReturnVoid(instruction);
77
}
78
79
+#if !UNITY_2023_1_OR_NEWER
80
public static SimpleCoroutineAwaiter<AsyncOperation> GetAwaiter(this AsyncOperation instruction)
81
{
82
return GetAwaiterReturnSelf(instruction);
@@ -104,6 +105,7 @@ public static SimpleCoroutineAwaiter<Object> GetAwaiter(this AssetBundleRequest
104
105
InstructionWrappers.AssetBundleRequest(awaiter, instruction)));
106
return awaiter;
107
108
+#endif
109
110
public static SimpleCoroutineAwaiter<T> GetAwaiter<T>(this IEnumerator<T> coroutine)
111
0 commit comments