public static NavCellController GetCell(Vector3 pos, NavigationMesh mesh) { return(mesh.GetCell(pos).controller); }
public static NavCellController GetCell(int x, int y, NavigationMesh mesh) { return(mesh.GetCell(x, y).controller); }