기술 자료

Unity Engine

Unity Engine

hasPath

Does the agent currently have a path? (Read Only)
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: UnityEngine.AI
  • Assembly: UnityEngine.AIModule
public bool hasPath { get; }

Remarks

This property will be true if the agent has a path calculated to the desired destination and false otherwise.
Additional Resources: pathPending.