protected void SetAbilityAnimationClip()
 {
     if (config.GetAbilityAnimationClip() != null)
     {
         AnimatorOverrideController animOverride = GetComponent <WeaponSystem>().GetAnimatorOverride();
         Animator anim = GetComponent <Animator>();
         anim.runtimeAnimatorController = animOverride;
         animOverride["DefaultAttack"]  = config.GetAbilityAnimationClip();
     }
 }