yoo2.2,9
This commit is contained in:
Alex-Rachel
2025-01-25 13:46:17 +08:00
parent 634a392a1f
commit 6166fd24c6
584 changed files with 15684 additions and 11714 deletions

View File

@@ -0,0 +1,32 @@

namespace YooAsset
{
public struct DownloadStatus
{
/// <summary>
/// 下载是否已经完成
/// </summary>
public bool IsDone;
/// <summary>
/// 下载进度0-1f)
/// </summary>
public float Progress;
/// <summary>
/// 下载文件的总大小
/// </summary>
public long TotalBytes;
/// <summary>
/// 已经下载的文件大小
/// </summary>
public long DownloadedBytes;
public static DownloadStatus CreateDefaultStatus()
{
DownloadStatus status = new DownloadStatus();
return status;
}
}
}