using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DeadState : FSMState {
public DeadState()
{
state = State.Dead;
}
public override void Reason(Transform player, Transform aiObj)
{
throw new System.NotImplementedException();
}
public override void Action(Transform player, Transform aiObj)
{
AnimationManagerEnemy animation = aiObj.GetComponent<AnimationManagerEnemy>();
animation.curState = animationState.Dead;
}
}
DeadState
最新推荐文章于 2025-01-03 21:37:28 发布