Ejemplo n.º 1
0
 public void ClickLevelsExit()
 {
     AudioManager.PlaySound(8);
     UITween.levelsActive(true);
     UITween.rctfMapSlide(-500f, 0f);
     UITween.levelsSlideIn();
     UITween.optionsActive(false);
 }
Ejemplo n.º 2
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);
 }
Ejemplo n.º 3
0
 private void Update()
 {
     //Press Space
     if (ControllerManager.GetSpaceDown() && UITween.IsMenuActive())
     {
         AudioManager.PlaySound(6);
         UITween.levelsActive(true);
         UITween.menuSlideOut();
         UITween.levelsSlideIn();
         UITween.menuActive(false);
     }
 }