The report window supports sorting

报告浏览窗口支持排序
This commit is contained in:
hevinci
2022-05-03 22:12:59 +08:00
parent 1c1bb078b1
commit f34078a604
7 changed files with 336 additions and 155 deletions

View File

@@ -7,15 +7,31 @@ namespace YooAsset.Editor
[Serializable]
public class ReportAssetInfo
{
/// <summary>
/// 可寻址地址
/// </summary>
public string Address;
/// <summary>
/// 资源路径
/// </summary>
public string AssetPath;
/// <summary>
/// 资源GUID
/// 说明Meta文件记录的GUID
/// </summary>
public string AssetGUID;
/// <summary>
/// 所属资源包名称
/// </summary>
public string MainBundle;
public string MainBundleName;
/// <summary>
/// 所属资源包的大小
/// </summary>
public long MainBundleSize;
/// <summary>
/// 依赖的资源包名称列表

View File

@@ -1,4 +1,5 @@
using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
@@ -36,5 +37,13 @@ namespace YooAsset.Editor
/// Flags
/// </summary>
public int Flags;
public string GetTagsString()
{
if (Tags != null)
return String.Join(";", Tags);
else
return string.Empty;
}
}
}