public void SetLeftRightAdjacencies() { GameObject left = cubeManager.GetCubeAtIndex(cubeColIndex - 1, cubeRowIndex); GameObject right = cubeManager.GetCubeAtIndex(cubeColIndex + 1, cubeRowIndex); SetAdjacency(left, 0); SetAdjacency(right, 1); }