MoveLineStart
Move the cursor to the beginning of the line of text.
읽는 시간 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);}