It is a procedural generated map tech approach
Procedural generated map. the number of rooms in each sub-level is certain, but the selection and arrangement of room types are randomly distributed. I use scriptable file to store the room requirements of each sub-level. The generation process uses scriptable to traverse each sublevel one by one to ensure that the sublevels are generated in order.