I am currently working on a project where it is basically a maze which starts small and works it way to be bigger the more you complete. I currently have a 3x3 grid with a cube (the first level). Each cube is a child of the parent cube. The cubes are in a array, randomly a cube will be turned on or off. I want it so when a cube is ‘on’ it is a room and when it is ‘off’ its a corridor. the cube must connect to the corridor and vise versa.