/// <summary>
        /// Force current active ability to exit
        /// </summary>
        /// <param name="ability"></param>
        public void ExitActiveAbility()
        {
            if (m_ActiveAbility != null)
            {
                LastAbility = m_ActiveAbility;
                if (m_ActiveAbility.Active)
                {
                    m_ActiveAbility.OnExitAbility();
                }

                m_ActiveAbility = null;

                m_Capsule.sharedMaterial = capsuleOriginalMaterial;
                OnAnyAbilityExits.Invoke();
            }
        }
        /// <summary>
        /// Method that exits an ability.
        /// </summary>
        /// <param name="ability"></param>
        public void ExitAbility(ThirdPersonAbility ability)
        {
            if (m_ActiveAbility == ability)
            {
                LastAbility     = m_ActiveAbility;
                m_ActiveAbility = null;

                if (ability.Active)
                {
                    ability.OnExitAbility();
                }

                m_Capsule.sharedMaterial = capsuleOriginalMaterial;
                OnAnyAbilityExits.Invoke();
            }
        }