Merchant.RemoveStock
#
Declarationpublic void RemoveStock(GDTKItem item, Int32 count)
#
ParametersName | Description |
---|---|
item | Item to remove |
count | Number of the item |
#
DescriptionRemoves a specific number of an item from stock
#
Usageusing NullSave.GDTK.Inventory;using UnityEngine;
public class Example : MonoBehaviour{
public void ExampleMethod(Merchant target) { target.RemoveStock(InventoryDatabase.instance.items[0], 5); }
}