private void DisplayPullerInfluenceNorth(int distance, bool shouldHighlight) { if (!northWall && northNeighbor && distance > 0) { GridElement north = northNeighbor.GetComponent <GridElement>(); if (shouldHighlight) { north.ChangeColor(GridMenu.pullColor); if (north.piece && (north.piece.GetComponent <GamePiece>() is Unit || north.piece.GetComponent <GamePiece>() is Trap)) { north.isHighlighted = shouldHighlight; } else { north.GetComponent <Image>().color += new Color(0.2F, 0.2F, 0.2F); } } else { north.ChangeColor(Menu.defaultColor); } north.DisplayPullerInfluenceNorth(distance - 1, shouldHighlight); } }