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.nextOffMeshLinkData

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

Description

The next OffMeshLinkData on the current path.

In the case that the current path does not contain an OffMeshLink the OffMeshLinkData is marked as invalid.