Dungeon Generation with Prefabs, Enter the Gungeon Style


Hey guys, I'm currently trying to build a dungeon generator where it stitches multiple pre-made prefabs together to generate an entire dungeon, very similar to how "Enter the Gungeon" generates its worlds. I have already figured out how to make a prefab room creator but I'm unsure on how to make the code to make the multiple rooms stitch together with hallways. Does anyone have any links or knowledge on how to do this? Thanks! p.s. even pseudocode helps.