Add progress of async operation
异步操作类增加进度查询。
This commit is contained in:
@@ -203,7 +203,7 @@ namespace YooAsset
|
||||
|
||||
if (_steps == ESteps.CheckDownload)
|
||||
{
|
||||
_downloadProgress = _threadDownloader.DownloadProgress * 100f;
|
||||
_downloadProgress = _threadDownloader.DownloadProgress;
|
||||
_downloadedBytes = _threadDownloader.DownloadedBytes;
|
||||
if (_threadDownloader.IsDone == false)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user