MoveLineStart
Move the cursor to the beginning of the line of text.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Field
- Namespace: UnityEditor.Search
- Assembly: UnityEditor
MoveLineStart = 2
Examples
[MenuItem("Examples/ISearchView/SetSearchText_WithCursorPosition")]public static void SetSearchText_WithCursorPosition(){ var view = SearchService.ShowContextual("asset"); view.SetSearchText("t:material", TextCursorPlacement.MoveLineStart);}