private void UpdateHex(HexObject hex) { if (hex) { if (isDragging) { HexObject otherCell = hex.GetNeighbour(dragDirection.Opposite()); if (otherCell) { if (currentActionMode == ActionMode.BuildRoad) { otherCell.AddRoad(dragDirection); // TODO: Add a cost to this for gameplay } } } } }