com.alicizax.unity.tuyoogam.../Editor/UIElements/TableViewer/SearchSystem/SearchKeyword.cs

19 lines
360 B
C#
Raw Normal View History

2025-02-28 16:11:01 +08:00
#if UNITY_2019_4_OR_NEWER
namespace YooAsset.Editor
{
/// <summary>
/// 搜索关键字
/// </summary>
public class SearchKeyword : ISearchCommand
{
public string SearchTag;
public string Keyword;
public bool CompareTo(string value)
{
return value.Contains(Keyword);
}
}
}
#endif