ドキュメント

Unity Engine

Unity Engine

MoveToStartOfNextWord()

Moves the cursor to the start of the next word.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

void MoveToStartOfNextWord()

Remarks

The cursor moves according to the logical text indices, which might differ from their visual order on screen, especially with right-to-left text. This API uses the visualElement's style to compute the result, so calling it before the styles are computed might return an incorrect value.