update asset system

This commit is contained in:
hevinci
2023-06-27 10:28:16 +08:00
parent f24ae6eb2a
commit 561cf411ef
7 changed files with 35 additions and 35 deletions
@@ -28,19 +28,19 @@ namespace YooAsset
{
if (IsWaitForAsyncComplete)
{
DependBundleGroup.WaitForAsyncComplete();
DependBundles.WaitForAsyncComplete();
OwnerBundle.WaitForAsyncComplete();
}
if (DependBundleGroup.IsDone() == false)
if (DependBundles.IsDone() == false)
return;
if (OwnerBundle.IsDone() == false)
return;
if (DependBundleGroup.IsSucceed() == false)
if (DependBundles.IsSucceed() == false)
{
Status = EStatus.Failed;
LastError = DependBundleGroup.GetLastError();
LastError = DependBundles.GetLastError();
InvokeCompletion();
return;
}