com.alicizax.unity.tuyoogam.../Editor/UIElements/TableView/SearchSystem/SearchKeyword.cs
2025-02-28 16:11:01 +08:00

19 lines
360 B
C#

#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