Exemple #1
0
 public void ClickLevelsExit()
 {
     AudioManager.PlaySound(8);
     UITween.levelsActive(true);
     UITween.rctfMapSlide(-500f, 0f);
     UITween.levelsSlideIn();
     UITween.optionsActive(false);
 }
Exemple #2
0
 //Loads the room based on roomID.
 public void ClickButtonRoom(int roomID)
 {
     AudioManager.PlaySound(7);
     UITween.gameActive(true);
     UITween.levelsSlideOut();
     UITween.gameSlideIn();
     UITween.levelsActive(false);
     RoomManager.LoadRoom(roomID);
 }
Exemple #3
0
 public void ClickLeave()
 {
     AudioManager.PlaySound(7);
     SaveData.SaveGameData();
     RoomManager.LoadRoom(RoomManager.GetMainMenuIndex());
     UITween.levelsActive(true);
     UITween.rctfMapSlide(-500f, 0f);
     UITween.levelsSlideIn();
     UITween.optionsActive(false);
 }
Exemple #4
0
 private void Update()
 {
     //Press Space
     if (ControllerManager.GetSpaceDown() && UITween.IsMenuActive())
     {
         AudioManager.PlaySound(6);
         UITween.levelsActive(true);
         UITween.menuSlideOut();
         UITween.levelsSlideIn();
         UITween.menuActive(false);
     }
 }
Exemple #5
0
    public void ClickLevelsMiniMap()
    {
        AudioManager.PlaySound(7);
        UITween.optionsActive(true);
        UITween.optionsLevelsActive(true);
        UITween.btnSoundsActive(true);

        UITween.optionsMenuActive(false);
        UITween.helpSectionActive(false);
        UITween.optionsGameActive(false);
        UITween.warrantSectionActive(false);

        UITween.levelsSlideOut();
        UITween.rctfMapSlide(0, 1);
        UITween.levelsActive(false);
    }