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

설명

Style used by default for GUI.Button controls.

using UnityEngine;

public class Example : MonoBehaviour { // Modifies only the button style of the current GUISkin

GUIStyle style;

void OnGUI() { GUI.skin.box = style; GUILayout.Button("This is a button."); } }