Method group is Obsolete

OffMeshLink.costOverride

Obsolete costOverride has been deprecated together with the class. Declare the object as NavMeshLink and use costModifier instead. 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.


Did you find this page useful? Please give it a rating: