ResetPath()
Clears the current path.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEngine.AI
- Assembly: UnityEngine.AIModule
public void ResetPath()
Remarks
When the path is cleared, the agent will not start looking for a new path until SetDestination is called.
Note that if the agent is on an OffMeshLink when this function is called, it will complete the link immediately.