Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

SearchField.SetFocus

Declaration

public void SetFocus();

Description

This function changes keyboard focus to the search field so a user can start typing.

This is similar to what happens when a user clicks inside the search field.