Common basis for NavLink and NavLinkCluster.
More...
|
float | TravelCosts (Vector2 start, Vector2 goal) |
| MUST BE THREAD SAFE! Calculates the cost of traversing from start to goal. More...
|
|
|
float | Clearance => clearance |
|
float | AvgWaitTime => avgWaitTime |
|
float | CostOverride => costOverride |
|
GameObject | GameObject => gameObject |
|
int | NavTag => 0 |
|
float | MaxTraversableDistance => maxTraversableDistance |
|
|
virtual void | OnValidate () |
|
|
float | costOverride = -1 |
|
int | linkType = 1 |
|
float | clearance = 2 |
|
int | navTag = 0 |
| Pro-version only.
|
|
float | avgWaitTime = 0 |
|
float | maxTraversableDistance = 0 |
|
Common basis for NavLink and NavLinkCluster.
◆ TravelCosts()
float PathBerserker2d.BaseNavLink.TravelCosts |
( |
Vector2 |
start, |
|
|
Vector2 |
goal |
|
) |
| |
MUST BE THREAD SAFE! Calculates the cost of traversing from start to goal.
- Parameters
-
- Returns
The documentation for this class was generated from the following file:
- PathBerserker2d/NavObjects/BaseNavLink.cs