mirror of
https://github.com/tuyoogame/YooAsset.git
synced 2026-05-25 18:20:15 +00:00
update asset system
新增了初始化参数LoadingMaxTimeSlice 移除了参数AssetLoadingMaxNumber
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user