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