GUIStyle.alignment
Declaration
public TextAnchor alignment;Описание
Выравнивание текста.
using UnityEngine;
public class Example : MonoBehaviour { // Prints how text alignment is set.
void OnGUI() { Debug.Log(GUI.skin.button.alignment); } }
public TextAnchor alignment;Выравнивание текста.
using UnityEngine;
public class Example : MonoBehaviour { // Prints how text alignment is set.
void OnGUI() { Debug.Log(GUI.skin.button.alignment); } }