//切换动作状态 public void PlayAIState(roleState state) { if (aniCon == null) { aniCon = this.gameObject.GetComponent <IbaseAnimator>(); } aniCon.PlayState(state); }
public override void stateStandEnd() { IbaseAnimator tmpAni = this.transform.GetComponent <IbaseAnimator>(); tmpAni.PlayState(roleState.stand); }