Style used by default for GUI.Toggle controls.
using UnityEngine;
public class Example : MonoBehaviour { // Modifies only the toggle style of the current GUISkin
GUIStyle style; public bool val = false;
void OnGUI() { GUI.skin.toggle = style; val = GUILayout.Toggle(val, "A Toggle control"); } }