Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

NavMeshAgent.isOnOffMeshLink

public bool isOnOffMeshLink;

Description

Is the agent currently positioned on an OffMeshLink? (Read Only)

This property is useful when autoTraverseOffMeshLink is false and custom movement is needed when crossing the link.

Additional resources: autoTraverseOffMeshLink, CompleteOffMeshLink.