ScriptReference/GUILayout.Toggle #326
Replies: 1 comment
-
|
Comment by The following will display a toggle as a button: isEnabled = GUILayout.Toggle(isEnabled, isEnabled ? "Enabled" : "Disabled", GUI.skin.button);In the editor, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
ScriptReference/GUILayout.Toggle
https://docs.unity3d.com/ScriptReference/GUILayout.Toggle.html
Beta Was this translation helpful? Give feedback.
All reactions