/// <summary> /// Change the scene to something else. /// </summary> public void SwitchScreen(ScreenType screenType) { if (screenType == ScreenType.SHOP_MENU) { if (saveLoadManager.GetScreenOrientationStatus() == (int)ScreenOrientationStatus.SCREEN_PORTRAIT) { screenType = ScreenType.SHOP_MENU_PORTRAIT; } } screenTransition.StartScreenTransition((int)screenType); }
/// <summary> /// Player changes scene. /// </summary> public void ShowScreenTransition(int sceneID) { screenTransition.StartScreenTransition(sceneID); }
/// <summary> /// Change the scene to something else. /// </summary> public void ChangeScreen(int toScreenID) { soundManager.PlaySound(SoundEffectType.SOUND_BUTTON, false); screenTransition.StartScreenTransition(toScreenID); }
/// <summary> /// Change the scene to something else. /// </summary> public void SwitchScreen(ScreenType screenType) { screenTransition.StartScreenTransition((int)screenType); }