public override void OnEnter(CharacterController controller, Animator animator, AnimatorStateInfo stateInfo) { AttackManager attackManager = AttackManager.instance; Collider collider = controller.GetWeapon(weaponName).GetCollider(); AttackInfo attackInfo = AttackInfoPool.instance.GetAttackInfo(controller, collider, attackPower, activeTime); attackManager.AddAttackInfo(attackInfo); }