Class InventoryItem
An InventoryItem that goes into an Inventory. InventoryItems should only exist inside Inventories.
Inheritance
InventoryItem
Inherited Members
Namespace: UnityEngine.GameFoundation
Assembly: solution.dll
Syntax
public class InventoryItem : BaseItem<InventoryDefinition, Inventory, InventoryItemDefinition, InventoryItem>
Properties
| Name | Description |
|---|---|
| inventory | The Inventory that this InventoryItem belongs to. |
| quantity | Quantity contained in this Inventory for this InventoryItem. |
Methods
| Name | Description |
|---|---|
| SetQuantity(int) | Sets the quantity of this InventoryItem. |