private void SwapRowsOfRegions(int seed) { int counter = seed; while (counter >= 0) { int row1 = Random.Range(0, gridHeight); int row2 = Random.Range(0, gridHeight); if (row1 != row2) { shuffler.SwapAreaRows(row1, row2); counter--; } } }