public void EnterState() { if (!game.WasLastRoundWon) { game.GenerateNewWord(); } anturaEnterTimer = MixedLettersConfiguration.Instance.Variation == MixedLettersVariation.BuildWord ? 3.25f : 1.5f; anturaEntered = false; anturaBarked = false; //anturaExitTimer = Random.Range(0.75f, 1.5f); //anturaExited = false; isAnturaEnterTimerActivated = false; game.DisableRepeatPromptButton(); //game.GenerateNewWord(); game.SayQuestion(OnQuestionOver); VictimLLController.instance.Reset(); VictimLLController.instance.Enable(); /*Vector3 victimLLPosition = VictimLLController.instance.transform.position; * victimLLPosition.x = Random.Range(0, 40) % 2 == 0 ? 0.5f : -0.5f; * VictimLLController.instance.SetPosition(victimLLPosition);*/ if (!uiInitialised) { uiInitialised = true; game.Context.GetOverlayWidget().Initialize(true, true, false); game.Context.GetOverlayWidget().SetStarsThresholds(game.STARS_1_THRESHOLD, game.STARS_2_THRESHOLD, game.STARS_3_THRESHOLD); MinigamesUI.Timer.Setup(timePerRound); } MinigamesUI.Timer.Rewind(); }
private IEnumerator OnTitleVoiceOverDoneCoroutine() { yield return(new WaitForSeconds(0.75f)); game.SayQuestion(OnQuestionOver); }