Version: 2022.3
언어: 한국어
public GUIStyle label ;

설명

Style used by default for GUI.Label controls.

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