public GUIStyle button;
Описание
Стиль, используемый по умолчанию для элементов управления GUI.Button.
using UnityEngine;
public class Example : MonoBehaviour
{
// Modifies only the button style of the current GUISkin
GUIStyle style;
void OnGUI()
{
GUI.skin.box = style;
GUILayout.Button("This is a button.");
}
}