From ce4a00ef7c125f78488b29c1703febfddd339486 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=AC=E6=98=A5=E9=B9=8F?= Date: Thu, 5 Jun 2025 10:38:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=90=9C=E7=B4=A2=E6=96=87=E5=AD=97=E9=A2=9C?= =?UTF-8?q?=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AssetBundleCollectorWindow.cs | 28 ++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/Assets/YooAsset/Editor/AssetBundleCollector/AssetBundleCollectorWindow.cs b/Assets/YooAsset/Editor/AssetBundleCollector/AssetBundleCollectorWindow.cs index 6bcb1491..98912e5f 100644 --- a/Assets/YooAsset/Editor/AssetBundleCollector/AssetBundleCollectorWindow.cs +++ b/Assets/YooAsset/Editor/AssetBundleCollector/AssetBundleCollectorWindow.cs @@ -1010,11 +1010,37 @@ namespace YooAsset.Editor // Collector Path var objectField1 = element.Q("ObjectField1"); objectField1.SetValueWithoutNotify(collectObject); - objectField1.RegisterValueChangedCallback(evt => + + if (_viewMode == EViewMode.Search) + { + if (collector.CollectPath.ToLower().Contains(_lowerSearchKey)) + { + objectField1.Q