Skip to main content

Text.alignment

NameType
alignmentTextAnchor

Description

The positioning of the text reliative to its RectTransform.

Extra Detail

This is the positioning of the Text relative to its RectTransform. You can alter this via script or in the Inspector of a Text component using the buttons in the Alignment section.