InventoryIngredient.Add C# (CSharp) 메소드

Add() 공개 메소드

public Add ( int i ) : void
i int
리턴 void
    public void Add(int i)
    {
        Debug.Log("before : " + amount);
        amount += i;
        Debug.Log("after : " + amount);
    }
}
InventoryIngredient