Version: 2019.1
public GUIStyle label ;

Description

Стиль, используемый по умолчанию для элементов управления GUI.Label.

using UnityEngine;

public class Example : MonoBehaviour { // Modifies only the label style of the current GUISkin GUIStyle style;

void OnGUI() { GUI.skin.label = style; GUILayout.Label("This is a label."); } }