diff --git a/Assets/YooAsset/Editor/AssetBundleCollector/AssetBundleCollectorWindow.cs b/Assets/YooAsset/Editor/AssetBundleCollector/AssetBundleCollectorWindow.cs index b07c152..1b4b1af 100644 --- a/Assets/YooAsset/Editor/AssetBundleCollector/AssetBundleCollectorWindow.cs +++ b/Assets/YooAsset/Editor/AssetBundleCollector/AssetBundleCollectorWindow.cs @@ -26,6 +26,7 @@ namespace YooAsset.Editor private List _filterRuleList; private Button _settingsButton; + private VisualElement _helpBoxContainer; private VisualElement _setting1Container; private VisualElement _setting2Container; private Toggle _showPackageToogle; @@ -34,6 +35,7 @@ namespace YooAsset.Editor private Toggle _includeAssetGUIDToogle; private Toggle _uniqueBundleNameToogle; private Toggle _showEditorAliasToggle; + private HelpBox _helpBox; private VisualElement _packageContainer; private ListView _packageListView; @@ -124,6 +126,11 @@ namespace YooAsset.Editor RefreshWindow(); }); + // 警示栏 + _helpBox = new HelpBox("无法同时开启[Enable Addressable]选项和[Location To Lower]选项", HelpBoxMessageType.Error); + _helpBoxContainer = root.Q("HelpBoxContainer"); + _helpBoxContainer.Add(_helpBox); + // 配置修复按钮 var fixBtn = root.Q