Exemple #1
0
 void SetUp()
 {
     for (int i = 0; i < discovery.recipeFound.Length; i++)
     {
         Dish dish = discovery.recipeFound[i];
         if (dish != null)
         {
             slots[i].Add(dish);
             if (!firstTime)
             {
                 discovery.EnableNewRecipePanel(dish);
             }
         }
         else
         {
             slots[i].ClearSlot();
         }
     }
     UpdateResultText();
 }