Documentation

Unity Engine

Download Unity

Unity Engine

isOnOffMeshLink

Is the agent currently positioned on an OffMeshLink?
Read time 1 minuteLast updated 9 hours ago

Definition

public bool isOnOffMeshLink { get; }

Remarks

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