MoveToParagraphEnd()
Moves the cursor to the end of the current paragraph.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
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.