mirror of
https://github.com/tuyoogame/YooAsset.git
synced 2026-05-14 19:40:47 +00:00
Fixed #54
This commit is contained in:
@@ -90,7 +90,6 @@ namespace YooAsset
|
|||||||
// 3. 检测加载结果
|
// 3. 检测加载结果
|
||||||
if (Status == EStatus.Checking)
|
if (Status == EStatus.Checking)
|
||||||
{
|
{
|
||||||
Progress = _cacheRequest.progress;
|
|
||||||
if (_cacheRequest != null)
|
if (_cacheRequest != null)
|
||||||
{
|
{
|
||||||
if (IsWaitForAsyncComplete)
|
if (IsWaitForAsyncComplete)
|
||||||
@@ -101,6 +100,7 @@ namespace YooAsset
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Progress = _cacheRequest.progress;
|
||||||
if (_cacheRequest.isDone == false)
|
if (_cacheRequest.isDone == false)
|
||||||
return;
|
return;
|
||||||
AssetObject = _cacheRequest.asset;
|
AssetObject = _cacheRequest.asset;
|
||||||
|
|||||||
@@ -79,7 +79,6 @@ namespace YooAsset
|
|||||||
// 3. 检测加载结果
|
// 3. 检测加载结果
|
||||||
if (Status == EStatus.Checking)
|
if (Status == EStatus.Checking)
|
||||||
{
|
{
|
||||||
Progress = _cacheRequest.progress;
|
|
||||||
if (_cacheRequest != null)
|
if (_cacheRequest != null)
|
||||||
{
|
{
|
||||||
if (IsWaitForAsyncComplete)
|
if (IsWaitForAsyncComplete)
|
||||||
@@ -90,6 +89,7 @@ namespace YooAsset
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Progress = _cacheRequest.progress;
|
||||||
if (_cacheRequest.isDone == false)
|
if (_cacheRequest.isDone == false)
|
||||||
return;
|
return;
|
||||||
AllAssetObjects = _cacheRequest.allAssets;
|
AllAssetObjects = _cacheRequest.allAssets;
|
||||||
|
|||||||
Reference in New Issue
Block a user