Exemple #1
0
 void PrepareRecipe(RecipeUI recipe)
 {
     GameState.instance.GetRestaurant().PrepareFood(recipe.GetRecipe());
 }
Exemple #2
0
 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");
 }