void PrepareRecipe(RecipeUI recipe) { GameState.instance.GetRestaurant().PrepareFood(recipe.GetRecipe()); }
private void Obj_PointerEnter(UnityEngine.EventSystems.PointerEventData obj, RecipeUI recipe) { infoObject.SetActive(true); recipeText.text = recipe.GetRecipe().food.foodName; timeText.text = recipe.GetRecipe().timeToPrepare.ToString("F0"); }