Ejemplo n.º 1
0
    public void ApplyToAttribute(PlayerAttributeManager playerAttributeManager)
    {
        CharacterAttribute attribute = playerAttributeManager.GetAttribute(attributeType);

        Debug.Log("apply modifier to " + attribute.ToString());
        attribute.RegisterModifier(this);
    }
Ejemplo n.º 2
0
    public void RemoveFromAttribute(PlayerAttributeManager playerAttributeManager)
    {
        CharacterAttribute attribute = playerAttributeManager.GetAttribute(attributeType);

        attribute.RemoveModifier(this);
    }
Ejemplo n.º 3
0
    public void ApplyToAttribute(PlayerAttributeManager playerAttributeManager)
    {
        CharacterAttribute attribute = playerAttributeManager.GetAttribute(attributeType);

        attribute.RegisterModifier(this);
    }