This question was
closed Jan 30, 2018 at 08:57 PM by
betapowers for the following reason:
Too much to accomplish
Question by
betapowers · Jan 30, 2018 at 08:41 PM ·
gridtilesroom
Please, trying for days to figure out how to get a grid system that automatically creates rooms with walls
I have been trying for days , on an off for possibly some weeks to try and figure out how to get a 3D grid system that automatically creates rooms with automatically created walls.
A system where if to select a certain amount of tiles then would make those selected tiles into a room that is enclosed by walls.
I have tried many attempts and all have failed, and to me unity seems to be lacking in what I am trying to accomplish.
Here is the attempt recorded in video:
https://www.youtube.com/watch?v=9Jy5xBUl3U8&feature=youtu.be
Here is the main code for the tile prefab: https://pastebin.com/rSDCV61c
Here is the code that generates the tile grid: https://pastebin.com/bW9vB7Hv
Comment