Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


isPathStale

Is the current path stale. (Read Only)
Read time 1 minuteLast updated 11 days ago

Definition

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

Remarks

When true, the path may no longer be valid or optimal. This flag will be set if: there are any changes to the _areaMask, if any OffMeshLink is enabled or disabled, or if the costs for the NavMeshAreas have been changed.