refactor : 重构了Web文件系统公共类

方便小游戏共用基础代码。
This commit is contained in:
何冠峰
2025-08-30 17:30:29 +08:00
parent a5138b9846
commit d392b02bd4
19 changed files with 341 additions and 334 deletions
@@ -0,0 +1,22 @@
using UnityEngine;
namespace YooAsset
{
internal abstract class LoadWebAssetBundleOperation : AsyncOperationBase
{
/// <summary>
/// AssetBundle对象
/// </summary>
public AssetBundle Result;
/// <summary>
/// 下载进度
/// </summary>
public float DownloadProgress { protected set; get; } = 0;
/// <summary>
/// 下载大小
/// </summary>
public long DownloadedBytes { protected set; get; } = 0;
}
}