LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.

TextAnchor.MiddleCenter

Description

Text is centered both horizontally and vertically.

See Also: GUIText.anchor, GUI Text component.