} //当前Ai状态 #endregion //---------------------------------------------------------------------- #region Virtual_Methods //更换AI状态 public virtual void ChangeAiState(IAIState state) { _aiState = state; _aiState.SetCharactorAi(this); _beginRunStart = true; }
public override void ChangeAiState(IAIState state) { base.ChangeAiState(state); state.SetAttackPosition(AttackPostion); }