com.alicizax.unity.tuyoogam.../Editor/UIElements/TableViewer/SearchSystem/SearchKeyword.cs
2025-04-01 21:12:28 +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