update asset system

增加了下载失败尝试次数的初始化参数
This commit is contained in:
hevinci
2023-03-22 17:14:58 +08:00
parent 49e0d9729d
commit 027ae02aa0
8 changed files with 39 additions and 12 deletions

View File

@@ -61,7 +61,7 @@ namespace YooAsset
// 1. 下载远端文件
if (_steps == ESteps.Download)
{
int failedTryAgain = int.MaxValue;
int failedTryAgain = Impl.DownloadFailedTryAgain;
_downloader = DownloadSystem.BeginDownload(MainBundleInfo, failedTryAgain);
_steps = ESteps.CheckDownload;
}