var alignment : TextAlignment
Description描述
The alignment of the text.
文本的对齐方式。
using UnityEngine;
using System.Collections;
public class example : MonoBehaviour {
public void Awake() {
guiText.alignment = TextAlignment.Left;
}
}
guiText.alignment = TextAlignment.Left;