Version: 2019.4
语言: 中文
public TextAnchor alignment ;

描述

文本对齐。

using UnityEngine;

public class Example : MonoBehaviour { // Prints how text alignment is set.

void OnGUI() { Debug.Log(GUI.skin.button.alignment); } }