Documentation

Unity Engine

Download Unity

Unity Engine

GetAreaCost(int)

Returns the area cost multiplier for the given area type for this filter.
Read time 1 minuteLast updated 8 hours ago

Definition

public float GetAreaCost(int areaIndex)

Parameters

areaIndex

Index to retrieve the cost for.

Returns

Type

Description

floatThe cost multiplier for the supplied area index.

Remarks

The default value is 1.