isOnOffMeshLink
Is the agent currently positioned on an OffMeshLink?
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Property
- Namespace: UnityEngine.AI
- Assembly: UnityEngine.AIModule
public bool isOnOffMeshLink { get; }
Remarks
This property is useful when _autoTraverseOffMeshLink is false and custom movement is needed when crossing the link.
Additional Resources: _autoTraverseOffMeshLink, NavMeshAgent.CompleteOffMeshLink