Add Stats
Stats are generally added through the Default Values Manager when the StatsComponent is initialized. However, it is possible to add and remove Stats during runtime.
Through the Default Values Manager
See the Default Values.
During runtime
You can add or remove Complex and Progress Stats from your StatsComponent during runtime. When successfully doing so, it will trigger the OnStatAdded / OnStatRemoved delegates in your StatsComponent.
Complex Stat
You can add and remove Complex Stats using AddComplexStat() and RemoveComplexStat().
Progress Stat
You can add and remove Progress Stats using AddProgressStat() and RemoveProgressStat().
Automatically add modified Stats
In your StatsComponent defaults, you can set "Automatically Add Modified Stats" property.
If true, the StatsComponent will automatically add the Stats you're trying to modify.