|
The anchor of the text.
guiText.anchor = TextAnchor.MiddleCenter;
using UnityEngine;
using System.Collections;
public class example : MonoBehaviour {
void Example() {
guiText.anchor = TextAnchor.MiddleCenter;
}
}
import UnityEngine
import System.Collections
class example(MonoBehaviour):
def Example():
guiText.anchor = TextAnchor.MiddleCenter