///────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── /// <summary> /// Reset and Remove the Active Ability /// </summary> protected virtual void ResetActiveAbility() { if (ActiveAbility != null) { ActiveAbility.ResetAbility(); ActiveAbility = null; } }
/// <summary>Reset and Remove the Active Ability </summary> protected virtual void ResetActiveAbility() { ActiveAbility?.ResetAbility(); ActiveAbility = null; }