Modify Stat <Component>
Last updated
Was this helpful?
Last updated
Was this helpful?
The modify Stat component is a great tool to modify several Stats of a character. Is usually used with a Trigger Enter component or it can be connected to an Event that has as a parameter a GameObject, Component or Monobehaviour property.
Reference to the stats to modify
List of Stat modifiers that it will be applied to the stat
void Modify(Component stats)
Uses the parameters <stats> to find a Stats Component and applies the modifications. Use this with an Unity Event
It uses the class to modify each stats.