Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


MoveToParagraphStart()

Moves the cursor to the start of the current paragraph.
Read time 1 minuteLast updated 9 days ago

Definition

void MoveToParagraphStart()

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.