C# Procedural Random Dungeon Generator in Unity 3D & Blender

person icon Billy McDaniel

C# Procedural Random Dungeon Generator in Unity 3D & Blender

Learn interior-only random dungeon generation using a geomorph method that connects modular rooms and hallways in C#

updated on icon Updated on Sep, 2023

language icon Language - English

person icon Billy McDaniel

architecture icon C#,Development,Game Development


30-days Money-Back Guarantee

Training 5 or more people ?

Get your team access to 19,000+ top Tutorialspoint courses anytime, anywhere.

Course Description

Learn how to manipulate prefabricated rooms and halls with C# scripting to generate a unique randomly generated dungeon for your video games in Unity. Included in the course are a set of modular room and hall tiles which we'll use to create our dungeons. We'll start in Blender where we will export the individual mesh information to an fbx file and then import them into Unity and convert them to prefabs that we can use in our project. Next, we'll write a complete procedural C# script that uses those prefab tiles to generate intricate and endless variations of dungeons for your 3D games.

The course is intended for intermediate-level Unity game developers who have a strong desire to create random environments in an interior-only series of rooms and hallways. We'll jump right into the code and write methods that perform specific functions while piecing everything together to produce the desired results.

You'll also learn to recognize the tile requirements which will be useful if you decide to go shopping for tiles to add to your collection or if you want to create your own.  This course is intended for video game developers with a desire for adding unpredictable environments to their games.

Who this course is for:

  • Intermediate Unity 3D Game Developers
  • C# Programmers who are interested in Procedural Dungeon Generation


What will you learn in this course:

  • Random Dungeon Generation

  • Connecting Rooms & Halls at Runtime


What are the prerequisites for this course?

  • Be somewhat familiar with Unity

  • Familiarity with Blender is helpful but not required

  • Familiarity with programming in C#

C# Procedural Random Dungeon Generator in Unity 3D & Blender


Check out the detailed breakdown of what’s inside the course

Initial Project Setup
7 Lectures
  • play icon Course Overview 01:13 01:13
  • play icon Setup Unity Project 01:55 01:55
  • play icon Blender Configuration 03:30 03:30
  • play icon Export From Blender & Import to Unity 05:47 05:47
  • play icon 3D Models Overview 17:45 17:45
  • play icon Setting Up Unity Prefabs 13:41 13:41
  • play icon Configure & Setup Lighting 13:50 13:50
Connecting Adjacent Tiles
6 Lectures
Procedural Dungeon Generation
8 Lectures
Dungeon Dressing
6 Lectures
Bonus Section
1 Lectures

Instructor Details

Billy McDaniel

Billy McDaniel

Online Instructor for Video Game Development

I started on my creative journey over 35 years ago as a musician. Through the decades, I have picked up a wide variety of skills, with over 20 years as an accomplished website developer, programmer, graphics artist, photographer, journalist, published author, video game developer, 3D modeler and animator!

I have done lots of work for a wide variety of business over the years. In the past decade, I have taken to Unity for game development with six games published on Steam so far.  I'm very excited to be a full time game developer, and equally pleased to pass down some of my knowledge to you!

My friends describe me as a highly driven individual with a wide range of skills, capable of doing anything. I describe myself as curious, intuitive and above all.. honest.

Course Certificate

User your certification to make a career change or to advance in your current career. Salaries are among the highest in the world.

sample Tutorialspoint certificate

Our students work
with the Best



Aleksandar Zdravkovi? (Pajgla)

I really like this course so far and I really like how you explain things. Everything is calm, without rushing and properly explained. I do have a minor complaint that does not bother me but I think can actually be helpful for you: do not try to explain beginner stuff. Since this course is not for t

Related Video Courses

View More

Annual Membership

Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses

Subscribe now
People having fun around a laptop

Online Certifications

Master prominent technologies at full length and become a valued certified professional.

Explore Now
People having fun around a laptop

Talk to us