/* DESC :> * 사용한 재료 감소 */ public void SpreadIngredient(IIngredient ingredient, int id) { if (ingredient.itemID != 0) { return; } ingredient.SetItem(id, ingredient.itemName, ingredient.itemPrice); GlobalData.getInstance.GetIngredient(ingredient.Type, id).amount--; GlobalData.getInstance.SetIngredient(ingredient.Type, id); }