diff --git a/Assets/YooAsset/Editor/AssetBundleCollector/AssetBundleCollectorWindow.cs b/Assets/YooAsset/Editor/AssetBundleCollector/AssetBundleCollectorWindow.cs index 4fbafee8..bf108656 100644 --- a/Assets/YooAsset/Editor/AssetBundleCollector/AssetBundleCollectorWindow.cs +++ b/Assets/YooAsset/Editor/AssetBundleCollector/AssetBundleCollectorWindow.cs @@ -501,28 +501,6 @@ namespace YooAsset.Editor element.style.borderBottomWidth = 0; } - private string ConvertSearchText(string str) - { - if (_viewMode == EViewMode.Search) - { - if (str.ToLower().Contains(_lowerSearchKey)) - { - int startIndex = str.ToLower().IndexOf(_lowerSearchKey); - while (startIndex >= 0) - { - string before = str.Substring(0, startIndex); - string match = str.Substring(startIndex, _lowerSearchKey.Length); - string after = str.Substring(startIndex + _lowerSearchKey.Length); - str = $"{before}{match}{after}"; - startIndex = str.ToLower().IndexOf(_lowerSearchKey, startIndex + 20); // 20是的长度 - } - return str; - } - } - - return str; - } - // 设置栏相关 private void RefreshSettings() { @@ -712,10 +690,23 @@ namespace YooAsset.Editor var package = _packageListView.itemsSource[index] as AssetBundleCollectorPackage; var textField1 = element.Q