Legacy Documentation: Version 2018.1 (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.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答