Version 3.3.1.2

SearchField class

Namespace: Sirenix.Utilities.Editor
Assembly: Sirenix.Utilities.Editor
public class SearchField
Inheritance
  • System.Object
  • SearchField

Constructors

SearchField()
Initializes the SearchField and creates a permanent ID for the Control.
public SearchField()

Methods

Draw(String, String)
public string Draw(string searchTerm, string placeholder = "")
Parameters
System.String searchTerm

System.String placeholder

Returns
System.String

Draw(Rect, String, String)
public string Draw(Rect rect, string searchTerm, string placeholder = "")
Parameters
UnityEngine.Rect rect

System.String searchTerm

System.String placeholder

Returns
System.String

Focus()
public void Focus()
HasFocus()
public bool HasFocus()
Returns
System.Boolean