protected override void Start() { base.Start(); currentState = DontWakeUpMinigameState.Initializing; RoundsTotal = Levels.Length; currentRound = StartingLevel; currentLevel = currentRound; LivesLeft = 4; //AppManager.I.InitDataAI(); AppManager.I.CurrentGameManagerGO = gameObject; //LoggerEA4S.Log("minigame", "dontwakeup", "start", ""); //LoggerEA4S.Save(); ResetAntura(); AudioManager.I.PlayMusic(SceneMusic); AudioManager.I.PlaySfx(Sfx.DogSnoring); SceneTransitioner.Close(); //StartCurrentRound(); currentState = DontWakeUpMinigameState.GameIntro; Invoke("GameIntro", 2); }
protected override void Start() { base.Start(); tutorial = GetComponent <DancingDotsTutorial>(); AppManager.I.InitTeacherForPlayer(); AppManager.I.CurrentGameManagerGO = gameObject; SceneTransitioner.Close(); AudioManager.I.PlayMusic(Music.MainTheme); // DancingDotsConfiguration.Instance.Context.GetAudioManager().PlayMusic(Music.MainTheme); questionsManager = new DancingDotsQuestionsManager(); splats = new List <DancingDotsSplat>(); foreach (DancingDotsDraggableDot dDots in dragableDots) { dDots.gameObject.SetActive(false); } foreach (DancingDotsDraggableDot dDiacritic in dragableDiacritics) { dDiacritic.gameObject.SetActive(false); } //StartRound(); isPlaying = true; // StartCoroutine(AnimateAntura()); }