isOnNavMesh
Is the agent currently bound to the navmesh? (Read Only)
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Property
- Namespace: UnityEngine.AI
- Assembly: UnityEngine.AIModule
public bool isOnNavMesh { get; }
Remarks
This property is false if the agent, for some reason, could not bind to the navmesh. E.g. if Scene has no navmesh.