public virtual void RemoveAbility(AbilityBase inAbility) { if (activityAbilities.Contains(inAbility)) { inAbility.CancelAbility(); } abilitiesMap.Remove(inAbility.abilityTags); AbilityManager.Instance.DestroyAbility(inAbility); }
public virtual void RemoveAbility(AbilityBase inAbility) { if (activityAbilities.Contains(inAbility)) { inAbility.CancelAbility(); } abilitiesMap.Remove(inAbility.abilityTags); AbilityManager.Instance.DestroyAbility(inAbility); }