DevNote #3: Add Gameplay Attributes
Note 📔
To add an attribute set to a pawn:
- Create a pointer of the attribute set, by initializing it in the constructor.
- Call
AddSpawnAttribute
from an AbilitySystemComponent, passing the pointer to the attribute set.
Additionally, attributes from the set can be initialized with base value before adding to the system. Use the helper function defined in the attribute set class.