Version: 2022.3
言語: 日本語
public GUIStyle label ;

説明

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."); } }