public void ModifyMapCenterPosition(Vector3 center) { if (mapObjectParent != null) { Destroy(mapObjectParent); } MapDataCollection.MapCenterPosition = center; IEnumerator cellDataItr = MapDataCollection.GetMapEnumerator(); while (cellDataItr.MoveNext()) { CellData cell = cellDataItr.Current as CellData; cell.UpdateHeightest(); } CenterPosition = center; DrawMap(); }