// 更換AI狀態 public virtual void ChangeAIState(IAIState NewAIState) { m_AIState = NewAIState; m_AIState.SetCharacterAI(this); }
// 更換AI狀態 public virtual void ChangeAIState( IAIState NewAIState) { m_AIState = NewAIState; m_AIState.SetCharacterAI( this ); }