|
float | costFactor = 1.0f |
| The connection will be this times harder/slower to traverse.
|
|
bool | deleteConnection = false |
| Delete existing connection instead of adding one.
|
|
Transform | end |
| End position of the link.
|
|
bool | oneWay = false |
| Make a one-way connection.
|
|
|
Transform | End [get] |
|
Transform | Start [get] |
|
void DrawGizmoBezier |
( |
Vector3 |
p1, |
|
|
Vector3 |
p2 |
|
) |
| |
|
private |
void InternalOnPostScan |
( |
| ) |
|
override void OnGraphsPostUpdate |
( |
| ) |
|
|
virtual |
Called after graphs have been updated using GraphUpdateObjects.
Eventual flood filling has been done
Reimplemented from GraphModifier.
override void OnPostScan |
( |
| ) |
|
|
virtual |
Called right after all graphs have been scanned.
FloodFill and other post processing has not been done.
- Warning
- Since OnEnable and Awake are called roughly in the same time, the only way to ensure that these scripts get this call when scanning in Awake is to set the Script Execution Order for AstarPath to some time later than default time (see Edit -> Project Settings -> Script Execution Order).
- See Also
- OnLatePostScan
Reimplemented from GraphModifier.
The connection will be this times harder/slower to traverse.
Note that values lower than one will not always make the pathfinder choose this path instead of another path even though this one should lead to a lower total cost unless you also adjust the Heuristic Scale in A* Inspector -> Settings -> Pathfinding or disable the heuristic altogether.
bool deleteConnection = false |
Delete existing connection instead of adding one.
End position of the link.
Make a one-way connection.
The documentation for this class was generated from the following file:
- /Users/arong/Unity/a-pathfinding-project/Assets/AstarPathfindingProject/Core/Misc/NodeLink.cs