Content-Length: 18844 | pFad | https://docs.unity3d.com/ScriptReference/../Manual/../ScriptReference/GUISkin-toggle.html
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"); } }
Fetched URL: https://docs.unity3d.com/ScriptReference/../Manual/../ScriptReference/GUISkin-toggle.html
Alternative Proxies: