Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

OffMeshLink.costOverride

public float costOverride;

Description

Modify pathfinding cost for the link.

When the costOverride value is non-negative the cost of moving over the OffMeshLink is equivalent to the costOverride value times the Euclidean distance between OffMeshLink end points.

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