Exemple #1
0
 public void FindPathToTarget(Vector2Int startPos, Vector2Int endPos, Cell[,] grid)
 {
     path = Astar.FindPathToTarget(startPos, endPos, grid);
     DrawPath();
 }