Defining Room Block A
#PanicRoom Day 085
#100DaysOfGameDev R2D50
#100DaysOfCode R2D50
I noticed the the top half of my vertical hallway overlay lines was appeared over the top of the house grid overlay and wanted to fix that. I did this by creating new horizontal and vertical prefabs specifically to use with the hallway overlay lines instead of the prefabs I was using to make the grid overlay. By doing this I could set the order in layer to a number less than the grid overlay lines thus making sure the hallway overlay lines always appear under the grid lines.
With that taken care of it was time to move on to starting BuildRooms(). I spent my time working out the variable definitions for Block A, which is the biggest room block completely to one side of the primary hallway. There are four possible iterations for this block and I wanted to make sure they got properly defined before moving on to Blocks B and C, which will have even more iterations due to the changing secondary hallway.