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