ドキュメント

Unity Engine

Unity Engine

Stop

Stop movement of this agent along its current path.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEngine.AI
  • Assembly: UnityEngine.AIModule

Stop()

Stop movement of this agent along its current path.
注意
Deprecated. Set isStopped to true instead.
public void Stop()

Remarks

See NavMeshAgent.Resume for how to resume movement after stopping.

Stop(bool)

Stop movement of this agent along its current path.
注意
Deprecated. Set isStopped to true instead.
public void Stop(bool stopUpdates)

Parameters

stopUpdates

Remarks

See NavMeshAgent.Resume for how to resume movement after stopping.