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(); }