文档

Unity Engine

Unity Engine

autoSetFocusOnFindCommand

Changes the keyboard focus to the search field when the user presses ‘Ctrl/Cmd + F’ when set to true. It is true by default.
阅读时间1 分钟最后更新于 1 个月前

Definition

public bool autoSetFocusOnFindCommand { get; set; }

Remarks

An ExecuteCommand event is dispatched when a user presses ‘Ctrl/Cmd + F’. The search field automatically handles this event and sets the keyboard focus on the text field. This behavior can be disabled by setting autoSetFocusOnFindCommand to false. It is true by default.