Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


pathStatus

The status of the current path (complete, partial or invalid).
Read time 1 minuteLast updated 12 days 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.)