GUISkin.box

Switch to Manual
public GUIStyle box;

Description

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

Did you find this page useful? Please give it a rating: