Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

NavMeshLinkData.width

public float width;

Description

If positive, the link will be rectangle aligned along the line from start to end.

This allows paths to enter the link at any location along the end sides. If not positive, the link endpoints will be represented as points.