ItemDataAsset
Class in SurvivEngine.Items namespace
Inherits from UnityEngine.ScriptableObject
Class in SurvivEngine.Items namespace
Inherits from UnityEngine.ScriptableObject
Data class for data shared between all item instances of a given type.
Read-Only
The icon of this item shown in the inventory.
Read-Only
The base name of the item.
Read-Only
The maximum count allowed in a slot for this item.
Read-Only
The maximum durability allowed for this item.
Initializes this item data asset for use at runtime.
Instantiates the item prefab defined in this item data asset.
Gets all item use action sequences that match the given context flags.
contextFlags The use context to filter by.
Gets the value of an item property with the given name.
propertyName The name of the property to retrieve.
Checks whether or not this item data has a property with the given name.
propertyName The name of the property to check.
Attempts to get the value of an item property with the given name.
propertyName The name of the property to retrieve.
value The retrieved value.