GetAreaCost(int)
Returns the area cost multiplier for the given area type for this filter.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: UnityEngine.AI
- Assembly: UnityEngine.AIModule
public float GetAreaCost(int areaIndex)
Parameters
Index to retreive the cost for.
Returns
Type | Description |
|---|---|
| float | The cost multiplier for the supplied area index. |
Remarks
The default value is 1.