Documentation

Unity Engine

Download Unity

Unity Engine

isPathStale

Is the current path stale. (Read Only)
Read time 1 minuteLast updated 8 hours ago

Definition

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 NavMeshAgent.areaMask, if any OffMeshLink is enabled or disabled, or if the costs for the NavMeshAreas have been changed.