public override void OnInspectorGUI() { base.OnInspectorGUI(); GroupSettings settings = (GroupSettings)target; if (GUI.changed && Application.isPlaying) { settings.UpdateVisuals(); } }