pull/62/head
hevinci 2022-12-13 11:46:39 +08:00
parent d67fc31c26
commit f4a3fcece8
2 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,6 @@ namespace YooAsset
// 3. 检测加载结果
if (Status == EStatus.Checking)
{
Progress = _cacheRequest.progress;
if (_cacheRequest != null)
{
if (IsWaitForAsyncComplete)
@ -101,6 +100,7 @@ namespace YooAsset
}
else
{
Progress = _cacheRequest.progress;
if (_cacheRequest.isDone == false)
return;
AssetObject = _cacheRequest.asset;

View File

@ -79,7 +79,6 @@ namespace YooAsset
// 3. 检测加载结果
if (Status == EStatus.Checking)
{
Progress = _cacheRequest.progress;
if (_cacheRequest != null)
{
if (IsWaitForAsyncComplete)
@ -90,6 +89,7 @@ namespace YooAsset
}
else
{
Progress = _cacheRequest.progress;
if (_cacheRequest.isDone == false)
return;
AllAssetObjects = _cacheRequest.allAssets;