public override void Enter(LittleBossAgent agent) { agent.GetRigidbody().velocity = Vector3.zero; agent.GetNavMeshAgent().isStopped = true; agent.SetAnimation(true); agent.ResetAttack(); agent.Attack(); }
public override void Exit(LittleBossAgent agent) { agent.GetNavMeshAgent().isStopped = false; agent.SetAnimation(false); }