예제 #1
0
 public void ClickGameExit(int soundID)
 {
     AudioManager.PlaySound(soundID);
     UITween.gameActive(true);
     UITween.rctfMapSlide(-500f, 0f);
     UITween.gameSlideIn();
     UITween.optionsActive(false);
     GameManager.SetPlayerPause(false);
 }
예제 #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);
 }