Need help with 3d level tile generation

Hello Unity peeps! I have been researching and trying to figure out for the last couple of days how to go about creating a 3d level generator on a grid.

I saw the game in the video and I believe that they use prefabs and randomly pick a prefab every time, but I was thinking it would be nice to figure out how to program it to generate itself since it would take a bit of time to create a bunch of level prefabs by hand.

What I want to go for is a 3d tile level generator that would run through at runtime have a start and end point and on the edge have a chance to spawn a building you can enter or maybe just some walls or something interesting.

I am not sure the best way to go about this so any advice, tips or a pointer to the right direction would be nice. I assume I would need to create a grid and have an empty gameobject run through the points of the grid and layout prefabs at random but I am not totally sure.

Anyways anything helps! I still consider myself a beginner programmer but I have been doing this for two years now.

Thanks all in advance for the help!

Hi, first I just wanted to give a tip about forums. Don’t ask people to do stuff without trying something first.
There is a good introductory lesson that can be taken away from the Unity official 2D Roguelike tutorial. It’s relatively simple but start there then customize and add upon the ideas presented there. Investigating different ways of random generation is always cool. Like maybe using Perlin noise to generate clusters of items or points of interest instead of just plain randomness - I know this isn’t part of the question but I assume you haven’t got much experience in random generation and there is really fun stuff you can do there. Good luck.