Пример #1
0
    public void ConfirmBtn()
    {
        if (MainMenuManager.isPlayerConnected)
        {
            network.GenerateNewCake(correctRecipe.remainingClientTime, correctRecipe.cakeCode);
        }


        if (pauseMan.ScoreIncrement(correctRecipe.remainingClientTime))
        {
            levelUp();
        }
        correctRecipe.Delete();
        confirmBtn.SetActive(false);
        recipeList.Remove(correctRecipe);
        bowl.DeleteRequirments();
        correctRecipe = null;
        CheckBowlColor();
        DeleteUncompatibleCombinationsRecipe();
    }