Documentation

Unity Engine


Unity Engine


MoveToParagraphEnd()

Moves the cursor to the end of the current paragraph.
Read time 1 minuteLast updated a month ago

Definition

void MoveToParagraphEnd()

Remarks

This method looks for a line-breaking character and ignores word wrapping when determining the end of the paragraph. This API uses the visualElement's style to compute the result, so calling it before the styles are computed might return an incorrect value.