Version: 2018.2
public GUIStyle box ;

Description

Стиль, использующийся по умолчанию для 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."); } }