refactor : 重构资源包裹模块
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
|
||||
namespace YooAsset
|
||||
{
|
||||
public struct PreDownloadContentOptions
|
||||
{
|
||||
/// <summary>
|
||||
/// 预下载的包裹版本
|
||||
/// </summary>
|
||||
public string PackageVersion { private set; get; }
|
||||
|
||||
/// <summary>
|
||||
/// 资源清单请求超时时间
|
||||
/// </summary>
|
||||
public int Timeout { private set; get; }
|
||||
|
||||
public PreDownloadContentOptions(string packageVersion, int timeout)
|
||||
{
|
||||
PackageVersion = packageVersion;
|
||||
Timeout = timeout;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user