Skip to main content

TextAlignment

How multiline text should be aligned.This is used by the TextMesh.alignment property.

Elements

ElementDescription
TextAlignment.CenterText lines are centered.
TextAlignment.LeftText lines are aligned on the left side.
TextAlignment.RightText lines are aligned on the right side.