Unity - Scripting API: SearchField
struct in UnityEditor.Search
Success!
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Submission failed
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Description
Search item field used by the property table and selector systems.
Properties
| Property | Description |
|---|---|
| alias | Display label of the field if displayed in the property table. |
| label | Field property label that was selected. |
| name | Field selector name. Compared to label, this field can be decorated with tokens such as # when this field selects a dynamic serialized property. |
| value | Value of the search field. |
Constructors
| Constructor | Description |
|---|---|
| SearchField | Creates a search field. |