This is a Dungeon Generator for Unity 2D, It comes with a playable example scene.
Customize the rooms to be a square or random;
You can change the size of the rooms or the distance between them;
The floor/corridor/topWall/bottomWall tilemap accept an array of tiles, making the dungeon even more unique;
At the start the algorithm spawns the player and the end point inside the dungeon;
You can also choose the offset of the dungeon.
You can spawn enemies on a given tilemap (the floor for example), check the example scene!