mirror of
https://github.com/tuyoogame/YooAsset.git
synced 2026-05-29 12:41:00 +00:00
fix #652
This commit is contained in:
@@ -159,9 +159,12 @@ namespace YooAsset
|
|||||||
|
|
||||||
_packageAssetCount--;
|
_packageAssetCount--;
|
||||||
Progress = 1f - _packageAssetCount / _progressTotalValue;
|
Progress = 1f - _packageAssetCount / _progressTotalValue;
|
||||||
|
if (IsWaitForAsyncComplete == false)
|
||||||
|
{
|
||||||
if (OperationSystem.IsBusy)
|
if (OperationSystem.IsBusy)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (_packageAssetCount <= 0)
|
if (_packageAssetCount <= 0)
|
||||||
{
|
{
|
||||||
@@ -193,9 +196,12 @@ namespace YooAsset
|
|||||||
|
|
||||||
_packageBundleCount--;
|
_packageBundleCount--;
|
||||||
Progress = 1f - _packageBundleCount / _progressTotalValue;
|
Progress = 1f - _packageBundleCount / _progressTotalValue;
|
||||||
|
if (IsWaitForAsyncComplete == false)
|
||||||
|
{
|
||||||
if (OperationSystem.IsBusy)
|
if (OperationSystem.IsBusy)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (_packageBundleCount <= 0)
|
if (_packageBundleCount <= 0)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user