public void ClearPath() { if (currentPathExists) { HexCell current = currentPathTo; while (current != currentPathFrom) { current.SetLabel(null); current.DisableOutline(); current = current.PathFrom; } current.DisableOutline(); currentPathExists = false; } currentPathFrom = currentPathTo = null; }