mirror of https://github.com/tuyoogame/YooAsset
parent
6dd1f43445
commit
d4fcb868d8
|
@ -208,12 +208,18 @@ namespace YooAsset
|
|||
{
|
||||
if (_bundleInfoList != null)
|
||||
{
|
||||
TotalDownloadBytes = 0;
|
||||
TotalDownloadCount = _bundleInfoList.Count;
|
||||
foreach (var packageBundle in _bundleInfoList)
|
||||
{
|
||||
TotalDownloadBytes += packageBundle.Bundle.FileSize;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
TotalDownloadBytes = 0;
|
||||
TotalDownloadCount = 0;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Reference in New Issue