Version: 2019.3
public GUIStyle box ;

説明

GUI.Box で使用されるスタイル

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