GUIText.alignment 对齐

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;
Page last updated: 2011-1-24