Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

TextAlignment

Description

How multiline text should be aligned.

This is used by GUIText.alignment property.

See Also: GUI Text component.

Variables

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