Version: 2017.2
public void SetAreaCost (int areaIndex, float areaCost);

파라미터

areaIndex Area cost.
areaCost New cost for the specified area index.

설명

Sets the cost for traversing over areas of the area type.

If you enable or disable the agent then the cost will be reset to the default layer cost.