a Mike Ton 10 éve
366
Még több ilyen
Szerző: Gaga Zee
Szerző: Leyla Izaguirre
Szerző: Franco Herrero Franco Herrero
Szerző: Tic de Camoens
//places prefabs
//generates maps
//generators are static
MethodLibrary.cs
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
ex:
Generator_Dungeon.cs
//generates world