Version: 2023.2
언어: 한국어
public GUIStyle GetStyle (string styleName);

설명

Get a named GUIStyle.

using UnityEngine;

public class Example : MonoBehaviour { bool b;

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