Hide
Searchable
Important
Enable SaintsEditor before using
Note
This is UI Toolkit only

This allows you to search for a field in a MonoBehavior (Component) or ScriptableObject. This is useful is you have a big list of fields.

It will draw a search icon in the header. Once clicked, you can input the field name you want to search.

You can also use Ctrl + F (Command + F on macOS) to open the search bar.

Note: this only search the field name. It does not search the nested fields, and it does not check with the RichLabel, PlayaRichLabel.

using SaintsField.Playa; [Searchable] public class SearchableMono : MonoBehaviour { public string myString; public int myInt; [ShowInInspector] private string MyInspectorString => "Non Ser Prop"; [ShowInInspector] private string otherInspectorString = "Non Ser Field"; public string otherString; public int otherInt; [ListDrawerSettings(searchable: true)] public string[] myArray; [Serializable] public struct MyStruct { public string MyStructString; } [Table] public MyStruct[] myTable; }