diff --git a/src/UniTask/Assets/Plugins/UniTask/Runtime/UnityAsyncExtensions.AssetBundleRequestAllAssets.cs b/src/UniTask/Assets/Plugins/UniTask/Runtime/UnityAsyncExtensions.AssetBundleRequestAllAssets.cs index 3a19a47..9ff4ffa 100644 --- a/src/UniTask/Assets/Plugins/UniTask/Runtime/UnityAsyncExtensions.AssetBundleRequestAllAssets.cs +++ b/src/UniTask/Assets/Plugins/UniTask/Runtime/UnityAsyncExtensions.AssetBundleRequestAllAssets.cs @@ -46,6 +46,11 @@ namespace Cysharp.Threading.Tasks this.continuationAction = null; } + public AssetBundleRequestAllAssetsAwaiter GetAwaiter() + { + return this; + } + public bool IsCompleted => asyncOperation.isDone; public UnityEngine.Object[] GetResult()