Class DefaultItem
This class contains a pair of data, a GameItemDefinition Hash and an int for quantity. These are used to setup the DefaultItems in a CollectionDefinition.
Namespace: UnityEngine.GameFoundation
Assembly: solution.dll
Syntax
[Serializable]
public class DefaultItem
Constructors
Name | Description |
---|---|
DefaultItem(int, int) | Basic constructor that takes in fields for all variables this class uses. |
Properties
Name | Description |
---|---|
definitionHash | The Hash of the GameItemDefinition to use. |
quantity | The starting quantity of the Item instance once setup. |