Version: 2020.2
言語: 日本語
public GUIStyle GetStyle (string styleName);

説明

GUIStyle 名で取得します

using UnityEngine;

public class Example : MonoBehaviour { bool b;

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