Namespace: | Sirenix.OdinInspector.Editor |
Assembly: | Sirenix.OdinInspector.Editor |
public class PropertySearchFilter
public PropertySearchFilter()
public PropertySearchFilter(InspectorProperty property)
InspectorProperty | property |
public PropertySearchFilter(InspectorProperty property, SearchableAttribute config)
InspectorProperty | property | |
SearchableAttribute | config |
protected static readonly Func<string, string, bool> ExactStringMatcher
public SearchFilterOptions FilterOptions
protected static readonly Func<string, string, bool> FuzzyStringMatcher
public Func<InspectorProperty, string, bool> MatchFunctionOverride
public InspectorProperty Property
public bool Recursive
protected string searchFieldControlName
public List<SearchResult> SearchResults
public string SearchTerm
public bool UseFuzzySearch
public bool HasSearchResults { get; }
public virtual void DrawDefaultSearchFieldLayout(GUIContent label)
UnityEngine.GUIContent | label |
public virtual void DrawSearchResult(SearchResult result)
SearchResult | result |
public virtual void DrawSearchResults()
public virtual bool HasSearchFlag(SearchFilterOptions flag)
SearchFilterOptions | flag |
System.Boolean |
public virtual bool IsMatch(InspectorProperty property, string searchTerm)
InspectorProperty | property | |
System.String | searchTerm |
System.Boolean |
public virtual List<SearchResult> Search(string searchTerm)
System.String | searchTerm |
System.Collections.Generic.List<SearchResult> |
protected virtual IEnumerable<SearchResult> Search(string searchTerm, InspectorProperty property)
System.String | searchTerm | |
InspectorProperty | property |
System.Collections.Generic.IEnumerable<SearchResult> |
public virtual void UpdateSearch()
public virtual void UpdateSearch(string searchFilter)
System.String | searchFilter |