기술 자료

Unity Engine

Unity Engine

ResetPath()

Clears the current path.
읽는 시간 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.