mirror of https://github.com/tuyoogame/YooAsset
parent
df6df3548c
commit
61f6d480ae
|
@ -112,7 +112,7 @@ namespace YooAsset
|
||||||
Manifest.AssetDic.Add(assetPath, patchAsset);
|
Manifest.AssetDic.Add(assetPath, patchAsset);
|
||||||
|
|
||||||
_patchAssetCount--;
|
_patchAssetCount--;
|
||||||
Progress = _patchAssetCount / _progressTotalValue;
|
Progress = 1f - _patchAssetCount / _progressTotalValue;
|
||||||
if (OperationSystem.IsBusy)
|
if (OperationSystem.IsBusy)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -149,7 +149,7 @@ namespace YooAsset
|
||||||
Manifest.BundleDic.Add(patchBundle.BundleName, patchBundle);
|
Manifest.BundleDic.Add(patchBundle.BundleName, patchBundle);
|
||||||
|
|
||||||
_patchBundleCount--;
|
_patchBundleCount--;
|
||||||
Progress = _patchBundleCount / _progressTotalValue;
|
Progress = 1f - _patchBundleCount / _progressTotalValue;
|
||||||
if (OperationSystem.IsBusy)
|
if (OperationSystem.IsBusy)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue