// 更换AI状态 public override void ChangeAIState(IAIState NewAIState) { base.ChangeAIState(NewAIState); // Enemy的AI要设定攻击的目标 NewAIState.SetAttackPosition(m_AttackPosition); }
public override void ChangeAIState(IAIState NewAIState) { base.ChangeAIState(NewAIState); NewAIState.SetAttackPosition(m_AttackPosition); }
// 更換AI狀態 public override void ChangeAIState( IAIState NewAIState) { base.ChangeAIState( NewAIState); // Enemy的AI要設定攻擊的目標 NewAIState.SetAttackPosition( m_AttackPosition ); }
public override void SwitchEntityAIState(IAIState state) { base.SwitchEntityAIState(state); state.SetAttackPosition(m_attackPosition); }