Class AStarPathfinder
Inheritance
AStarPathfinder
Syntax
public class AStarPathfinder
Methods
CalculatePath(Vector2Int, Vector2Int, Vector2Int, List<Vector2Int>, Func<Vector2Int, bool>, bool)
Declaration
public bool CalculatePath(Vector2Int start, Vector2Int goal, Vector2Int bounds, List<Vector2Int> path, Func<Vector2Int, bool> isTraversableTest = null, bool useHexCoords = false)
Parameters
Type |
Name |
Description |
Vector2Int |
start |
|
Vector2Int |
goal |
|
Vector2Int |
bounds |
|
List<Vector2Int> |
path |
|
Func<Vector2Int, bool> |
isTraversableTest |
|
bool |
useHexCoords |
|
Returns