Example #1
0
 /// <summary>
 /// Sets the active control group from the menu groups
 /// </summary>
 private void ChangeActiveCG(ControlGroup toOpen)
 {
     if (activeGroup != null && activeGroup != toOpen)
     {
         activeGroup.Disable(manager.UI);
     }
     activeGroup = toOpen;
     activeGroup.ToggleEnabled(manager.UI);
 }
 /// <summary>
 /// Sets the active control group from the menu groups
 /// </summary>
 private void ChangeActiveCG(ControlGroup toOpen)
 {
     if (activeGroup != null && activeGroup != toOpen)
         activeGroup.Disable(manager.UI);
     activeGroup = toOpen;
     activeGroup.ToggleEnabled(manager.UI);
 }