Version: 2019.1
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")); } }