update asset system

修复了通过Handle句柄查询资源包下载进度为零的问题。
pull/62/head
hevinci 2023-01-31 18:14:03 +08:00
parent f620223613
commit 423655e1ca
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ namespace YooAsset
result.TotalSize += (ulong)dependBundle.MainBundleInfo.Bundle.FileSize;
result.DownloadedBytes += dependBundle.DownloadedBytes;
}
result.Progress = result.DownloadedBytes / result.TotalSize;
result.Progress = (float)result.DownloadedBytes / result.TotalSize;
return result;
}