update web file system

This commit is contained in:
何冠峰
2024-07-04 21:59:24 +08:00
parent d43eb821b9
commit 9420f8561f
4 changed files with 49 additions and 21 deletions

View File

@@ -57,7 +57,7 @@ namespace YooAsset
// 注意:在连续时间段内无新增下载数据及判定为超时
if (_isAbort == false)
{
if (_latestDownloadBytes != _webRequest.downloadedBytes)
if ( _latestDownloadBytes != _webRequest.downloadedBytes)
{
_latestDownloadBytes = _webRequest.downloadedBytes;
_latestDownloadRealtime = Time.realtimeSinceStartup;