Procedual Generation

hey guys, Im doing my final project for school, and Im in charge of making the procedural generation for the map (3d dungeon).

My question is, how can I instantiate a prefab, right next to another, we need to snap two doors, for connect two rooms, it will be a generation like binding of isaac.

when the player kill all the enemies from one room, there will spawn the next 4 rooms (4 directions) my problem, is that I can`t unsderstand how do I get the “area” from the room for spawn the next one

can someone give me a hint :slight_smile:

Unity C# and Shader Tutorials Has some good tutorials on procedural level generation.

One cheap alternative is simply to have empty GameObjects as ‘snap points’ and snap to these.