From 95924868f719ed4c32f8f7ed1039f000cc1dec11 Mon Sep 17 00:00:00 2001 From: hevinci Date: Wed, 21 Sep 2022 11:21:13 +0800 Subject: [PATCH] Update AssetBundleCollector MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 移除对Gizmos资源的打包限制。 --- .../Editor/AssetBundleCollector/AssetBundleCollector.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Assets/YooAsset/Editor/AssetBundleCollector/AssetBundleCollector.cs b/Assets/YooAsset/Editor/AssetBundleCollector/AssetBundleCollector.cs index d4c332e..79543c5 100644 --- a/Assets/YooAsset/Editor/AssetBundleCollector/AssetBundleCollector.cs +++ b/Assets/YooAsset/Editor/AssetBundleCollector/AssetBundleCollector.cs @@ -184,11 +184,6 @@ namespace YooAsset.Editor UnityEngine.Debug.LogError($"Invalid asset path : {assetPath}"); return false; } - if (assetPath.Contains("/Gizmos/")) - { - UnityEngine.Debug.LogWarning($"Cannot pack gizmos asset : {assetPath}"); - return false; - } // 忽略文件夹 if (AssetDatabase.IsValidFolder(assetPath))