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

var anchor : TextAnchor

Description

The anchor of the text.

guiText.anchor = TextAnchor.MiddleCenter;