Property | Type | Description | |
---|---|---|---|
callbacks | OnPathDelegate[] | ||
chosenTarget | int | ||
heuristicMode | HeuristicMode | ||
nodePaths | List |
||
originalTargetPoints | Vector3[] | ||
pathsForAll | bool | ||
targetNodes | GraphNode[] | ||
targetPoints | Vector3[] | ||
targetsFound | bool[] | ||
vectorPaths | List |
Property | Type | Description | |
---|---|---|---|
targetNodeCount | int |
Method | Description | |
---|---|---|
ChooseShortestPath ( ) : void |
Set chosenTarget to the index of the shortest path
|
|
Construct ( Array startPoints, Vector3 target, Array callbackDelegates, OnPathDelegate callback = null ) : |
||
Construct ( Vector3 start, Array targets, Array callbackDelegates, OnPathDelegate callback = null ) : |
||
MultiTargetPath ( ) : UnityEngine |
Default constructor. Do not use this. Instead use the static Construct method which can handle path pooling.
|
|
RecalculateHTarget ( bool firstTime ) : void | ||
ResetFlags ( ) : void |
Reset flag1 on all nodes after the pathfinding has completed (no matter if an error occurs or if the path is canceled)
|
|
SetPathParametersForReturn ( int target ) : void |
Method | Description | |
---|---|---|
CalculateStep ( long targetTick ) : void | ||
Cleanup ( ) : void | ||
FoundTarget ( |
||
Initialize ( ) : void | ||
OnEnterPool ( ) : void | ||
Prepare ( ) : void | ||
RebuildOpenList ( ) : void | ||
Reset ( ) : void | ||
ReturnPath ( ) : void | ||
Setup ( Vector3 start, Array targets, Array callbackDelegates, OnPathDelegate callback ) : void | ||
Trace ( PathNode node ) : void |
Method | Description | |
---|---|---|
DebugString ( PathLog logMode ) : string |
protected CalculateStep ( long targetTick ) : void | ||
targetTick | long | |
return | void |
public static Construct ( Array startPoints, Vector3 target, Array callbackDelegates, OnPathDelegate callback = null ) : |
||
startPoints | Array | |
target | Vector3 | |
callbackDelegates | Array | |
callback | OnPathDelegate | |
return |
public static Construct ( Vector3 start, Array targets, Array callbackDelegates, OnPathDelegate callback = null ) : |
||
start | Vector3 | |
targets | Array | |
callbackDelegates | Array | |
callback | OnPathDelegate | |
return |
protected FoundTarget ( |
||
nodeR | ||
i | int | |
return | void |
public RecalculateHTarget ( bool firstTime ) : void | ||
firstTime | bool | |
return | void |
public SetPathParametersForReturn ( int target ) : void | ||
target | int | |
return | void |
protected Setup ( Vector3 start, Array targets, Array callbackDelegates, OnPathDelegate callback ) : void | ||
start | Vector3 | |
targets | Array | |
callbackDelegates | Array | |
callback | OnPathDelegate | |
return | void |