public void ComputeAdjacencyLists(float jumpHeight, tile target) { foreach (GameObject tile in tiles) { tile t = tile.GetComponent <tile>(); t.FindNeighbors(JumpHeight, target); } }