void Start() { NavigationManager.I.CurrentScene = AppScene.Rewards; if (AppManager.I.Player.IsFirstContact()) { GlobalUI.ShowPauseMenu(false); } AudioManager.I.PlayMusic(Music.Theme10); Debug.Log("RewardsManager playsession: " + AppManager.I.Player.CurrentJourneyPosition.PlaySession); // here we set the Rewards base on current progression level (playsession -1 because Rewards appear when playsession is already incremented) //if ((AppManager.I.Player.CurrentJourneyPosition.PlaySession - 1) == 1) { // AppManager.I.Player.AnturaCurrentPreset = 1; // tutorialIndex = 10; // //LoggerEA4S.Log("app", "Reward", "get_reward", "1"); // LogManager.I.LogInfo(InfoEvent.Reward, "reward:1"); //} else if ((AppManager.I.Player.CurrentJourneyPosition.PlaySession - 1) == 2) { // AppManager.I.Player.AnturaCurrentPreset = 2; // tutorialIndex = 20; // //LoggerEA4S.Log("app", "Reward", "get_reward", "2"); // LogManager.I.LogInfo(InfoEvent.Reward, "reward:2"); //} else if ((AppManager.I.Player.CurrentJourneyPosition.PlaySession - 1) > 2) { // AppManager.I.Player.AnturaCurrentPreset = 3; // tutorialIndex = 30; // //LoggerEA4S.Log("app", "Reward", "get_reward", "3"); // LogManager.I.LogInfo(InfoEvent.Reward, "reward:3"); //} AnturaAnimController.State = AnturaAnimation; SceneTransitioner.Close(); ShowReward(); }
void Start() { AppManager.I.GameSettings.CheatSuperDogMode = false; //Debug.Log("Setting super dog mode (by default) to: " + AppManager.I.GameSettings.CheatSuperDogMode); GlobalUI.ShowPauseMenu(false); GlobalUI.ShowBackButton(true, ExitThisScene); AudioManager.I.PlayMusic(SceneMusic); LogManager.I.LogInfo(InfoEvent.Book, "enter"); SceneTransitioner.Close(); AudioManager.I.PlayDialog("Book_Intro"); HideAllPanels(); OpenPanel(OpeningPanel); }
void Start() { AudioManager.I.PlayMusic(SceneMusic); SceneTransitioner.Close(); ShowTutor(); }