기술 자료

Unity Engine

Unity Engine

MoveForward()

Moves the cursor forward by one character.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

void MoveForward()

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.