GUIText.anchor Manual     Reference     Scripting  
Scripting > Runtime Classes > GUIText
GUIText.anchor

var anchor : TextAnchor

Description

The anchor of the text.

JavaScript
guiText.anchor = TextAnchor.MiddleCenter;