Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

NavMeshAgent.currentOffMeshLinkData

Switch to Manual
var currentOffMeshLinkData: OffMeshLinkData;
OffMeshLinkData currentOffMeshLinkData;
currentOffMeshLinkData as OffMeshLinkData

Description

The current OffMeshLinkData.

In the case that this agent is not on an OffMeshLink the OffMeshLinkData is marked as invalid. See also isOnOffMeshLink