Procedural

m

Pro D

Pro­DManager.cs

//generate dungeon

Generator_Generic_World.Generate()

//generates world

//generates maps

ex:

Generator_Dungeon.cs

//generators are static

MethodLibrary.cs

r

These generators are static, so they don’t need to be instantiated. They also serve as examples for you, on how to make your own generators. Each of them uses methods from the static MethodLibrary.cs.MethodLibrary.cs contains all methods for creating rooms, caverns, doors etc. You should see these methods as building blocks and we encourage you to experiment with them and write your own map generator scripts. All the methods of the method library are carefully commented and

//contains all methods for creating rooms, caverns, doors etc

Materializer.cs

//show dungeon

Materializer.Instance.MaterializeWorldMap()

//places prefabs