realizată de Mike Ton 10 ani în urmă
347
Mai multe ca aceasta
//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