Ejemplo n.º 1
0
 public void HideAllMenus()
 {
     if (ActionObjectMenuSceneEditor.CurrentState == SimpleSideMenu.State.Open)
     {
         ActionObjectMenuSceneEditor.Close();
     }
     if (ActionObjectMenuProjectEditor.CurrentState == SimpleSideMenu.State.Open)
     {
         ActionObjectMenuProjectEditor.Close();
     }
     if (ActionPointMenu.CurrentState == SimpleSideMenu.State.Open)
     {
         ActionPointMenu.Close();
     }
     if (PuckMenu.CurrentState == SimpleSideMenu.State.Open)
     {
         PuckMenu.Close();
     }
     if (ActionPointAimingMenu.CurrentState == SimpleSideMenu.State.Open)
     {
         ActionPointAimingMenu.Close();
     }
     if (AddOrientationMenu.CurrentState == SimpleSideMenu.State.Open)
     {
         AddOrientationMenu.Close();
     }
     if (AddJointsMenu.CurrentState == SimpleSideMenu.State.Open)
     {
         AddJointsMenu.Close();
     }
     if (OrientationJointsDetailMenu.CurrentState == SimpleSideMenu.State.Open)
     {
         OrientationJointsDetailMenu.Close();
     }
 }