Documentation

Unity Engine

Unity Engine

pathStatus

The status of the current path (complete, partial or invalid).
Read time 1 minuteLast updated a month ago

Definition

  • Type: Property
  • Namespace: UnityEngine.AI
  • Assembly: UnityEngine.AIModule
public NavMeshPathStatus pathStatus { get; }

Remarks

Returns NavMeshPathStatus.PathInvalid if either the path is invalid, or the agent is not yet initialized. (Additional Resources: NavMeshPath.status.)