update resource manager

This commit is contained in:
何冠峰
2024-07-07 09:45:01 +08:00
parent b282515c39
commit 25231ecd32
9 changed files with 28 additions and 22 deletions
@@ -77,10 +77,12 @@ namespace YooAsset
/// </summary>
public override void WaitForAsyncComplete()
{
if (_steps == ESteps.Done)
return;
_handle.WaitForAsyncComplete();
InternalOnUpdate();
if (_steps == ESteps.Clone)
{
_handle.WaitForAsyncComplete();
InternalOnUpdate();
DebugCheckWaitForAsyncComplete();
}
}
/// <summary>
@@ -1,5 +1,4 @@
using System;
using UnityEngine;
using UnityEngine;
namespace YooAsset
{
@@ -58,5 +57,10 @@ namespace YooAsset
Status = EOperationStatus.Succeed;
}
}
public override void WaitForAsyncComplete()
{
InternalOnUpdate();
DebugCheckWaitForAsyncComplete();
}
}
}