Constructor StatDefinition
StatDefinition(string, string, StatValueType)
This is one entry in the list of possible Stats an item could have. This method throws if not in editor mode.
Declaration
public StatDefinition(string id, string displayName, StatDefinition.StatValueType statValueType)
Parameters
Type | Name | Description |
---|---|---|
string | id | The Id this StatDefinition will use. |
string | displayName | The name this StatDefinition will use. |
StatDefinition.StatValueType | statValueType | The value type this StatDefinition will hold. |