Class InventoryItemDefinitionAsset
Asset version of a definition for inventory items.
Implements
Inherited Members
Namespace: UnityEngine.GameFoundation.DefaultCatalog
Assembly: solution.dll
Syntax
public sealed class InventoryItemDefinitionAsset : CatalogItemAsset, ISerializationCallbackReceiver
Properties
| Name | Description |
|---|---|
| initialAllocation | Determines how many of this InventoryItemDefinition to automatically add to player's inventory. |
Methods
| Name | Description |
|---|---|
| ConfigureItem(CatalogBuilder) | Configures a specified |
| GetDefaultProperties() | Get all default properties stored in this definition. |
| OnAfterItemDeserialize() | Called at the end of OnAfterDeserialize. Enable inheritance to add specific deserialization process. |
| OnBeforeItemSerialize() | Called at the end of OnBeforeSerialize. Enable inheritance to add specific serialization process. |