public GUIStyle box ;

Descripción

Style used by default for GUI.Box controls.

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { public GUIStyle style; void OnGUI() { GUI.skin.box = style; GUILayout.Box("This is a box."); } }