void SwitchAnimator(E_WEAPONTYPE _Type) { RuntimeAnimatorController anim = FindAnimator(_Type.ToString()); if (anim) { m_Animator.runtimeAnimatorController = anim; } }
void SwitchAnimator(E_WEAPONTYPE _Type) { m_WeaponType = _Type; m_AttackSound = SoundManager.Instance.GetPlayerAttackmonetClip(m_WeaponType); RuntimeAnimatorController anim = FindAnimator(_Type.ToString()); if (anim) { StartCoroutine(C_SwitchAnimator(anim)); } }