update asset system

新增了初始化参数LoadingMaxTimeSlice
移除了参数AssetLoadingMaxNumber
This commit is contained in:
hevinci
2023-03-24 17:01:35 +08:00
parent 82c83fcdf7
commit c60cc1e84f
3 changed files with 31 additions and 26 deletions

View File

@@ -39,13 +39,14 @@ namespace YooAsset
public IDecryptionServices DecryptionServices = null;
/// <summary>
/// 资源加载的最大数量
/// 资源加载每帧处理的最大时间片段
/// 注意默认值为MaxValue
/// </summary>
public int AssetLoadingMaxNumber = int.MaxValue;
public long LoadingMaxTimeSlice = long.MaxValue;
/// <summary>
/// 下载失败尝试次数
/// 注意默认值为MaxValue
/// </summary>
public int DownloadFailedTryAgain = int.MaxValue;
}