Пример #1
0
    public void GoToNextRound()
    {
        ResetRound();

        if (mCurrentRound == EnumCourse.DESSERT)
        {
            Debug.Log("THE GAME IS OVER!");
            mCurrentRound = 0;
            SceneManager.LoadScene(DinnerPartyScenes.RESULTS_PATH);
        }
        else
        {
            ++mCurrentRound;
            ServeFood();
            mRestaurantScript.CheckForStomachAche();
            SceneManager.LoadScene(DinnerPartyScenes.SHOW_ROLE_PATH);
        }
    }