public void ApplyToAttribute(PlayerAttributeManager playerAttributeManager) { CharacterAttribute attribute = playerAttributeManager.GetAttribute(attributeType); Debug.Log("apply modifier to " + attribute.ToString()); attribute.RegisterModifier(this); }
public void RemoveFromAttribute(PlayerAttributeManager playerAttributeManager) { CharacterAttribute attribute = playerAttributeManager.GetAttribute(attributeType); attribute.RemoveModifier(this); }
public void ApplyToAttribute(PlayerAttributeManager playerAttributeManager) { CharacterAttribute attribute = playerAttributeManager.GetAttribute(attributeType); attribute.RegisterModifier(this); }