예제 #1
0
    public void ApplyToAttribute(PlayerAttributeManager playerAttributeManager)
    {
        CharacterAttribute attribute = playerAttributeManager.GetAttribute(attributeType);

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

        attribute.RemoveModifier(this);
    }
예제 #3
0
    public void ApplyToAttribute(PlayerAttributeManager playerAttributeManager)
    {
        CharacterAttribute attribute = playerAttributeManager.GetAttribute(attributeType);

        attribute.RegisterModifier(this);
    }