EditorGUILayout.EndToggleGroup Manual     Reference     Scripting  
Scripting > Editor Classes > EditorGUILayout
EditorGUILayout.EndToggleGroup

static function EndToggleGroup () : void

Description

Close a group started with BeginToggleGroup

// Settings
settingsOn = EditorGUILayout.BeginToggleGroup("Settings", settingsOn);
backgroundColor = EditorGUILayout.ColorField(backgroundColor);
soundOn = EditorGUILayout.Toggle(soundOn, "Turn on sound");
EditorGUILayout.EndToggleGroup();