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