GUIText.anchor 锚点

var anchor : TextAnchor

Description描述

The anchor of the text.

文本的锚点。

using UnityEngine;

using System.Collections;



public class example : MonoBehaviour {

	public void Awake() {

		guiText.anchor = TextAnchor.MiddleCenter;

	}

}
guiText.anchor = TextAnchor.MiddleCenter;
Page last updated: 2011-1-24