文档

Unity Engine

Unity Engine

MoveLineStart

Move the cursor to the beginning of the line of text.
阅读时间1 分钟最后更新于 1 个月前

Definition

MoveLineStart = 2

Examples

[MenuItem("Examples/ISearchView/SetSearchText_WithCursorPosition")]public static void SetSearchText_WithCursorPosition(){ var view = SearchService.ShowContextual("asset"); view.SetSearchText("t:material", TextCursorPlacement.MoveLineStart);}