From 6070e619dab191bdfe237f389e7039b6e77b7f58 Mon Sep 17 00:00:00 2001 From: hevinci Date: Thu, 28 Apr 2022 22:45:28 +0800 Subject: [PATCH] Update editor window --- .../AssetBundleDebugger/AssetBundleDebuggerWindow.uxml | 2 +- .../Editor/AssetBundleGrouper/AssetBundleGrouperWindow.cs | 7 +++---- .../AssetBundleGrouper/AssetBundleGrouperWindow.uxml | 3 +-- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/Assets/YooAsset/Editor/AssetBundleDebugger/AssetBundleDebuggerWindow.uxml b/Assets/YooAsset/Editor/AssetBundleDebugger/AssetBundleDebuggerWindow.uxml index 1364928..dca9db6 100644 --- a/Assets/YooAsset/Editor/AssetBundleDebugger/AssetBundleDebuggerWindow.uxml +++ b/Assets/YooAsset/Editor/AssetBundleDebugger/AssetBundleDebuggerWindow.uxml @@ -1,7 +1,7 @@ - + diff --git a/Assets/YooAsset/Editor/AssetBundleGrouper/AssetBundleGrouperWindow.cs b/Assets/YooAsset/Editor/AssetBundleGrouper/AssetBundleGrouperWindow.cs index 601b13f..58051c2 100644 --- a/Assets/YooAsset/Editor/AssetBundleGrouper/AssetBundleGrouperWindow.cs +++ b/Assets/YooAsset/Editor/AssetBundleGrouper/AssetBundleGrouperWindow.cs @@ -101,7 +101,7 @@ namespace YooAsset.Editor // 分组容器 _grouperContainer = root.Q("GrouperContainer"); - // 分组信息相关 + // 分组名称 _grouperNameTxt = root.Q("GrouperName"); _grouperNameTxt.RegisterValueChangedCallback(evt => { @@ -113,6 +113,7 @@ namespace YooAsset.Editor } }); + // 分组备注 _grouperDescTxt = root.Q("GrouperDesc"); _grouperDescTxt.RegisterValueChangedCallback(evt => { @@ -124,6 +125,7 @@ namespace YooAsset.Editor } }); + // 分组的资源标签 _grouperAssetTagsTxt = root.Q("GrouperAssetTags"); _grouperAssetTagsTxt.RegisterValueChangedCallback(evt => { @@ -161,7 +163,6 @@ namespace YooAsset.Editor AssetBundleGrouperSettingData.SaveFile(); } - // 刷新窗体 private void RefreshWindow() { _enableAddressableToogle.SetValueWithoutNotify(AssetBundleGrouperSettingData.Setting.EnableAddressable); @@ -172,8 +173,6 @@ namespace YooAsset.Editor FillGrouperViewData(); } - - // 导入导出按钮 private void ExportBtn_clicked() { string resultPath = EditorTools.OpenFolderPanel("Export XML", "Assets/"); diff --git a/Assets/YooAsset/Editor/AssetBundleGrouper/AssetBundleGrouperWindow.uxml b/Assets/YooAsset/Editor/AssetBundleGrouper/AssetBundleGrouperWindow.uxml index 5cc0aee..00004ff 100644 --- a/Assets/YooAsset/Editor/AssetBundleGrouper/AssetBundleGrouperWindow.uxml +++ b/Assets/YooAsset/Editor/AssetBundleGrouper/AssetBundleGrouperWindow.uxml @@ -1,6 +1,5 @@ - - +