update resource manager

整理文件目录结构
This commit is contained in:
何冠峰
2025-01-02 10:45:56 +08:00
parent 8803003cf7
commit fe75491024
5 changed files with 1 additions and 1 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;
}
}
}