refactor : 重构代码

This commit is contained in:
何冠峰
2026-01-16 14:37:04 +08:00
parent 611ac886b3
commit 3e3661ad95
18 changed files with 258 additions and 309 deletions
@@ -6,22 +6,22 @@ namespace YooAsset
/// <summary>
/// 下载是否已经完成
/// </summary>
public bool IsDone;
public bool IsDone { get; set; }
/// <summary>
/// 下载进度(0-1f)
/// </summary>
public float Progress;
public float Progress { get; set; }
/// <summary>
/// 下载文件的总大小
/// </summary>
public long TotalBytes;
public long TotalBytes { get; set; }
/// <summary>
/// 已经下载的文件大小
/// </summary>
public long DownloadedBytes;
public long DownloadedBytes { get; set; }
public static DownloadStatus CreateDefaultStatus()
{