Пример #1
0
    IEnumerator SetUpRety()
    {
        ScreensManager.instance.ShowGameScreen(true);
        TransitionManager.instance.StartTransition();
        yield return(new WaitForSeconds(2f));

        ResumeGame();
        inGame = false;
        InputsManager.instance.DisableTouch();
        CreateLvl();
        myLumberJack.GoToIdle();
        yield return(new WaitForSeconds(3f));


        TransitionManager.instance.ComeBackFromTransition();
        StartCountdown();

        currRageAmount = 0f;
        UpdateRage();
    }