기술 자료

Unity Engine

Unity Engine

parsedText

The text as it is laid out, after rich text tags are parsed out and text transforms are applied. TextElement.Glyph.textRange indexes into this string.
읽는 시간 1분최근 업데이트: 24일 전

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.