Class StatItem<T>
This is one record in the Stat Manager’s list of current Stats at runtime.
Namespace: UnityEngine.GameFoundation
Assembly: solution.dll
Syntax
public class StatItem<T> where T : new()
Type Parameters
| Name | Description |
|---|---|
| T |
Properties
| Name | Description |
|---|---|
| defaultValue | Default (initial) value for this Stat to allow resetting as needed. |
| definitionId | Stat definition Id string. |
| gameItemId | Hash of gameItem and is the same Id as the first key of Dictionary in the StatManager. |
| value | Current Stat value. |