示例#1
0
 void FindIngredient(CookButtonName i_button)
 {
     foreach (var ingredient in GMRef.GameIngredients)
     {
         if (ingredient.ingredientInput == i_button)
         {
             currentRecipe.Add(ingredient.SelectIngredient(animTime));
             PutOnCooldown(animTime);
         }
     }
 }
示例#2
0
 public void ChangeButton(CookButtonName i_button)
 {
     ingredientInput = i_button;
     inputText.text  = ingredientInput.ToString();
 }