refactor : 重构代码
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user