Version: 2017.3
public TextAnchor alignment ;

描述

文本对齐。

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void OnGUI() { Debug.Log(GUI.skin.button.alignment); } }