From 33387e8d264011966f46664e706bc484cf23ee62 Mon Sep 17 00:00:00 2001 From: hevinci Date: Fri, 10 Jun 2022 10:50:27 +0800 Subject: [PATCH] Update AssetBundleBuilder --- .../AssetBundleBuilderSetting.cs | 5 ----- .../AssetBundleBuilderWindow.cs | 16 ++++------------ .../AssetBundleBuilderWindow.uxml | 1 - .../Editor/AssetBundleBuilder/BuildParameters.cs | 2 +- 4 files changed, 5 insertions(+), 19 deletions(-) diff --git a/Assets/YooAsset/Editor/AssetBundleBuilder/AssetBundleBuilderSetting.cs b/Assets/YooAsset/Editor/AssetBundleBuilder/AssetBundleBuilderSetting.cs index 9c5ad25..2380e60 100644 --- a/Assets/YooAsset/Editor/AssetBundleBuilder/AssetBundleBuilderSetting.cs +++ b/Assets/YooAsset/Editor/AssetBundleBuilder/AssetBundleBuilderSetting.cs @@ -34,10 +34,5 @@ namespace YooAsset.Editor /// 附加后缀格式 /// public bool AppendExtension = false; - - /// - /// 拷贝内置资源文件(首包资源文件) - /// - public bool CopyBuildinTagFiles = true; } } \ No newline at end of file diff --git a/Assets/YooAsset/Editor/AssetBundleBuilder/AssetBundleBuilderWindow.cs b/Assets/YooAsset/Editor/AssetBundleBuilder/AssetBundleBuilderWindow.cs index 1c5c11f..fc408d1 100644 --- a/Assets/YooAsset/Editor/AssetBundleBuilder/AssetBundleBuilderWindow.cs +++ b/Assets/YooAsset/Editor/AssetBundleBuilder/AssetBundleBuilderWindow.cs @@ -29,7 +29,6 @@ namespace YooAsset.Editor private PopupField _encryptionField; private EnumField _compressionField; private Toggle _appendExtensionToggle; - private Toggle _copyBuildinTagFilesToggle; public void CreateGUI() { @@ -122,14 +121,6 @@ namespace YooAsset.Editor AssetBundleBuilderSettingData.Setting.AppendExtension = _appendExtensionToggle.value; }); - // 拷贝首包文件 - _copyBuildinTagFilesToggle = root.Q("CopyBuildinFiles"); - _copyBuildinTagFilesToggle.SetValueWithoutNotify(AssetBundleBuilderSettingData.Setting.CopyBuildinTagFiles); - _copyBuildinTagFilesToggle.RegisterValueChangedCallback(evt => - { - AssetBundleBuilderSettingData.Setting.CopyBuildinTagFiles = _copyBuildinTagFilesToggle.value; - }); - // 构建按钮 var buildButton = root.Q