public static void AStar(GridCosts costs)
 {
 }
 //get a sense for the generic cost of the path from one point in the grid to another
 private static float CalcCost(GridCosts costs, Vector3Int start, Vector3Int end)
 {
     int[] arr = { Mathf.Abs(end.x - start.x), Mathf.Abs(end.y - start.y), Mathf.Abs(end.z - start.z) };
     Array.Sort(arr);
     return(costs.adjacent * arr[0] + costs.diagonal * (arr[1] - arr[0]) + costs.diagonalLong * (arr[2] - arr[1]));
 }