Professional Documents
Culture Documents
Levelgenerator
Levelgenerator
using System.Collections;
if (currentRow == 0) {
grid [currentCol, currentRow].northWall.SetActive
(false);
} else if (currentRow == rows - 1) {
grid [currentCol, currentRow].southWall.SetActive
(false);
} else {
grid [currentCol, currentRow].northWall.SetActive
(false);
grid [currentCol, currentRow].southWall.SetActive
(false);
}
}
}
}