Пример #1
0
 public void MouseLeftCreateNewBuildingButton()
 {
     if (mouseOverCreateNewBuildingButton)
     {
         mouseOverCreateNewBuildingButton = false;
         createNewBuildingExpandedButton.MouseLeft();
         createNewBuildingButton.MouseLeft();
         createNewBuildingExpandedButton.OffScreen();
         divider3.OnScreen();
         goBackButton.OnScreen();
     }
 }
 public void MouseLeftCreateNewSavegameButton()
 {
     if (mouseOverCreateNewSavegameButton)
     {
         mouseOverCreateNewSavegameButton = false;
         saveGamesUI_createNewSavegamesExpandedButton.MouseLeft();
         saveGamesUI_createNewSavegameButton.MouseLeft();
         saveGamesUI_createNewSavegamesExpandedButton.OffScreen();
         if (controller.manager.currentMainMenuState != MainMenuManager.MainMenuState.creatingNewSavegame)
         {
             saveGamesUI_divider3.OnScreen();
         }
         saveGamesUI_goBackButton.OnScreen();
     }
 }