Version: 2023.1
언어: 한국어
public GUIStyle box ;

설명

Style used by default for GUI.Box controls.

using UnityEngine;

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

GUIStyle style;

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