mirror of
https://github.com/tuyoogame/YooAsset.git
synced 2026-05-14 19:40:47 +00:00
update asset bundle reporter
This commit is contained in:
@@ -69,7 +69,7 @@ namespace YooAsset.Editor
|
||||
columnStyle.Stretchable = true;
|
||||
columnStyle.Searchable = true;
|
||||
columnStyle.Sortable = true;
|
||||
var column = new TableColumn("AssetPath", "AssetPath", columnStyle);
|
||||
var column = new TableColumn("AssetPath", "Asset Path", columnStyle);
|
||||
column.MakeCell = () =>
|
||||
{
|
||||
var label = new Label();
|
||||
@@ -96,7 +96,7 @@ namespace YooAsset.Editor
|
||||
columnStyle.Stretchable = true;
|
||||
columnStyle.Searchable = true;
|
||||
columnStyle.Sortable = true;
|
||||
var column = new TableColumn("MainBundle", "MainBundle", columnStyle);
|
||||
var column = new TableColumn("MainBundle", "Main Bundle", columnStyle);
|
||||
column.MakeCell = () =>
|
||||
{
|
||||
var label = new Label();
|
||||
@@ -125,7 +125,7 @@ namespace YooAsset.Editor
|
||||
columnStyle.Stretchable = true;
|
||||
columnStyle.Searchable = true;
|
||||
columnStyle.Sortable = true;
|
||||
var column = new TableColumn("DependBundles", "DependBundles", columnStyle);
|
||||
var column = new TableColumn("DependBundles", "Depend Bundles", columnStyle);
|
||||
column.MakeCell = () =>
|
||||
{
|
||||
var label = new Label();
|
||||
@@ -152,7 +152,7 @@ namespace YooAsset.Editor
|
||||
columnStyle.Stretchable = false;
|
||||
columnStyle.Searchable = false;
|
||||
columnStyle.Sortable = true;
|
||||
var column = new TableColumn("FileSize", "FileSize", columnStyle);
|
||||
var column = new TableColumn("FileSize", "File Size", columnStyle);
|
||||
column.MakeCell = () =>
|
||||
{
|
||||
var label = new Label();
|
||||
@@ -180,7 +180,7 @@ namespace YooAsset.Editor
|
||||
columnStyle.Stretchable = false;
|
||||
columnStyle.Searchable = false;
|
||||
columnStyle.Sortable = false;
|
||||
var column = new TableColumn("FileHash", "FileHash", columnStyle);
|
||||
var column = new TableColumn("FileHash", "File Hash", columnStyle);
|
||||
column.MakeCell = () =>
|
||||
{
|
||||
var label = new Label();
|
||||
@@ -277,10 +277,6 @@ namespace YooAsset.Editor
|
||||
}
|
||||
_dependTableView.itemsSource = sourceDatas;
|
||||
_dependTableView.RebuildView();
|
||||
|
||||
// 刷新标题
|
||||
string headerTitle = $"DependBundles ({mainBundle.DependBundles.Count})";
|
||||
_dependTableView.SetHeaderTitle("DependBundles", headerTitle);
|
||||
}
|
||||
private void OnClickAssetTableView(PointerDownEvent evt, ITableData data)
|
||||
{
|
||||
|
||||
@@ -69,7 +69,7 @@ namespace YooAsset.Editor
|
||||
columnStyle.Stretchable = true;
|
||||
columnStyle.Searchable = true;
|
||||
columnStyle.Sortable = true;
|
||||
var column = new TableColumn("BundleName", "BundleName", columnStyle);
|
||||
var column = new TableColumn("BundleName", "Bundle Name", columnStyle);
|
||||
column.MakeCell = () =>
|
||||
{
|
||||
var label = new Label();
|
||||
@@ -96,7 +96,7 @@ namespace YooAsset.Editor
|
||||
columnStyle.Stretchable = false;
|
||||
columnStyle.Searchable = true;
|
||||
columnStyle.Sortable = true;
|
||||
var column = new TableColumn("FileSize", "FileSize", columnStyle);
|
||||
var column = new TableColumn("FileSize", "File Size", columnStyle);
|
||||
column.MakeCell = () =>
|
||||
{
|
||||
var label = new Label();
|
||||
@@ -124,7 +124,7 @@ namespace YooAsset.Editor
|
||||
columnStyle.Stretchable = false;
|
||||
columnStyle.Searchable = false;
|
||||
columnStyle.Sortable = false;
|
||||
var column = new TableColumn("FileHash", "FileHash", columnStyle);
|
||||
var column = new TableColumn("FileHash", "File Hash", columnStyle);
|
||||
column.MakeCell = () =>
|
||||
{
|
||||
var label = new Label();
|
||||
@@ -208,7 +208,7 @@ namespace YooAsset.Editor
|
||||
columnStyle.Stretchable = true;
|
||||
columnStyle.Searchable = true;
|
||||
columnStyle.Sortable = true;
|
||||
var column = new TableColumn("IncludeAssets", "IncludeAssets", columnStyle);
|
||||
var column = new TableColumn("IncludeAssets", "Include Assets", columnStyle);
|
||||
column.MakeCell = () =>
|
||||
{
|
||||
var label = new Label();
|
||||
@@ -235,7 +235,7 @@ namespace YooAsset.Editor
|
||||
columnStyle.Stretchable = false;
|
||||
columnStyle.Searchable = false;
|
||||
columnStyle.Sortable = false;
|
||||
var column = new TableColumn("AssetSource", "AssetSource", columnStyle);
|
||||
var column = new TableColumn("AssetSource", "Asset Source", columnStyle);
|
||||
column.MakeCell = () =>
|
||||
{
|
||||
var label = new Label();
|
||||
@@ -262,7 +262,7 @@ namespace YooAsset.Editor
|
||||
columnStyle.Stretchable = false;
|
||||
columnStyle.Searchable = false;
|
||||
columnStyle.Sortable = false;
|
||||
var column = new TableColumn("AssetGUID", "AssetGUID", columnStyle);
|
||||
var column = new TableColumn("AssetGUID", "Asset GUID", columnStyle);
|
||||
column.MakeCell = () =>
|
||||
{
|
||||
var label = new Label();
|
||||
@@ -379,10 +379,6 @@ namespace YooAsset.Editor
|
||||
|
||||
_includeTableView.itemsSource = sourceDatas;
|
||||
_includeTableView.RebuildView();
|
||||
|
||||
// 刷新标题
|
||||
string headerTitle = $"IncludeAssets ({sourceDatas.Count})";
|
||||
_includeTableView.SetHeaderTitle("IncludeAssets", headerTitle);
|
||||
}
|
||||
private void OnClickBundleTableView(PointerDownEvent evt, ITableData data)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user