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