Class InventoryItemDefinition
Preset values and rules for an InventoryItem. During runtime, it may be useful to refer back to the InventoryItemDefinition for the presets and rules, but the values cannot be changed at runtime. InventoryItemDefinitions are also used as factories to create InventoryItems.
Inheritance
Implements
Inherited Members
Namespace: UnityEngine .GameFoundation
Assembly: solution.dll
Syntax
public class InventoryItemDefinition : BaseItemDefinition<InventoryDefinition, Inventory, InventoryItemDefinition, InventoryItem>, ISerializationCallbackReceiver
Methods
Name | Description |
---|---|
Create(string, string) | Creates a new InventoryItemDefinition. |
Get |
Gets the category definition that matches the given hash. |