Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


parsedText

The text as it is laid out, after rich text tags are parsed out and text transforms are applied. _textRange indexes into this string.
Read time 1 minuteLast updated 12 days ago

Definition

public string parsedText { get; }

Remarks

The value depends on resolved styles, so it is only available once the element is attached to a panel and its styles have been resolved (after the first panel update following attachment); throws InvalidOperationException before that. Style changes are reflected on the next panel update, while text changes are reflected immediately.