Version: 2018.2
public GUIStyle GetStyle (string styleName);

Description

Получает именованный GUIStyle.

using UnityEngine;

public class Example : MonoBehaviour { bool b;

void OnGUI() { b = GUILayout.Toggle(b, "A toggle button", GUI.skin.GetStyle("Button")); } }