Method AddStatFloat
AddStatFloat(int, float)
Adds default value to StatDetailDefinition for specified stat. This method throws if not in editor mode.
Declaration
public void AddStatFloat(int statDefinitionHash, float value)
Parameters
Type | Name | Description |
---|---|---|
int | statDefinitionHash | The StatDefinition Hash to address. |
float | value | The default value for the stat. |