Version 3.3.1.2

Odin has a dedicated attribute overview with examples

SearchableAttribute class

Namespace: Sirenix.OdinInspector
Assembly: Sirenix.OdinInspector.Attributes
[Conditional("UNITY_EDITOR")]
[DontApplyToListElements]
public class SearchableAttribute : Attribute, _Attribute
Adds a search filter that can search the children of the field or type on which it is applied. Note that this does not currently work when directly applied to dictionaries, though a search field "above" the dictionary will still search the dictionary's properties if it is searching recursively.
Inheritance
  • System.Object
  • System.Attribute
  • SearchableAttribute

Constructors

SearchableAttribute()
public SearchableAttribute()

Fields

FilterOptions
The options for which things to use to filter the search. Default value: All.
public SearchFilterOptions FilterOptions
FuzzySearch
Whether to use fuzzy string matching for the search. Default value: true.
public bool FuzzySearch
Recursive
Whether to search recursively, or only search the top level properties. Default value: true.
public bool Recursive