Fixed AwaitForAllAssets()

pull/164/head
c0nd3v 2020-09-11 10:41:41 -04:00
parent f1e4a3c65d
commit 81b4fcfac1
1 changed files with 5 additions and 0 deletions

View File

@ -46,6 +46,11 @@ namespace Cysharp.Threading.Tasks
this.continuationAction = null; this.continuationAction = null;
} }
public AssetBundleRequestAllAssetsAwaiter GetAwaiter()
{
return this;
}
public bool IsCompleted => asyncOperation.isDone; public bool IsCompleted => asyncOperation.isDone;
public UnityEngine.Object[] GetResult() public UnityEngine.Object[] GetResult()