using UnityEngine;
namespace Colosseum.Player
{
///
/// DownBegin 상태 종료를 HitReactionController에 전달합니다.
///
public class PlayerDownBeginExitBehaviour : StateMachineBehaviour
{
public override void OnStateExit(Animator animator, AnimatorStateInfo stateInfo, int layerIndex)
{
if (animator == null)
return;
HitReactionController hitReactionController = animator.GetComponentInParent();
hitReactionController?.NotifyDownBeginExited();
}
}
}