Files
TEngine/UnityProject/Packages/YooAsset/Runtime/DownloadSystem/DownloadParam.cs
Alex-Rachel 6166fd24c6 yoo2.2,9
yoo2.2,9
2025-01-25 13:46:17 +08:00

30 lines
691 B
C#

namespace YooAsset
{
internal class DownloadParam
{
public readonly int FailedTryAgain;
public readonly int Timeout;
/// <summary>
/// 导入的本地文件路径
/// </summary>
public string ImportFilePath { set; get; }
/// <summary>
/// 主资源地址
/// </summary>
public string MainURL { set; get; }
/// <summary>
/// 备用资源地址
/// </summary>
public string FallbackURL { set; get; }
public DownloadParam(int failedTryAgain, int timeout)
{
FailedTryAgain = failedTryAgain;
Timeout = timeout;
}
}
}