Class StatDetailDefinition
Detail definition to establish that item uses certain stats, and also to set default values for those stats.
Implements
Inherited Members
Namespace: UnityEngine .GameFoundation
Assembly: solution.dll
Syntax
public class StatDetailDefinition : BaseDetailDefinition, ISerializationCallbackReceiver
Methods
Name | Description |
---|---|
Add |
Adds default value to StatDetailDefinition for specified stat. This method throws if not in editor mode. |
Add |
Adds default value to StatDetailDefinition for specified stat. This method throws if not in editor mode. |
Display |
Returns 'friendly' display name for this StatDetailDefinition. |
Get |
Get default value for specified stat. |
Get |
Get default value for specified stat. |
Get |
Get default value for specified stat. |
Get |
Get default value for specified stat. |
On |
Called after deserializing to update dictionary from serialized data |
On |
Called before serializing to prepare dictionary to be serialized |
Remove |
Remove default value to StatDetailDefinition for specified stat. This method throws if not in editor mode. |
Remove |
Remove default value to StatDetailDefinition for specified stat. This method throws if not in editor mode. |
Tooltip |
Returns string message which explains the purpose of this StatDetailDefinition, for the purpose of displaying as a tooltip in editor. |