EditorGUI.Togglestatic function Toggle (position : Rect, value : boolean) : booleanstatic function Toggle (position : Rect, label : String, value : boolean, style : GUIStyle) : booleanstatic function Toggle (position : Rect, label : GUIContent, value : boolean) : booleanstatic function Toggle (position : Rect, label : GUIContent, value : boolean, style : GUIStyle) : booleanParameters
Returnsboolean - The selected state of the toggle. DescriptionMake a toggle.
// Use a toggle button to show/hide a button that can close the window.
|

