Advertisement
Guest User

Untitled

a guest
Jan 21st, 2020
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4.  
  5. [CreateAssetMenu(fileName = "BiomeAttributes", menuName = "MinecraftUnity/Biome Attribute")]
  6. public class BiomeAttributes : ScriptableObject {
  7.  
  8. public string biomeName;
  9.  
  10. public int solidGroundHeight;
  11. public int terrainHeight;
  12. public float terrainScale;
  13.  
  14. public Lode[] lodes;
  15.  
  16. }
  17.  
  18. [System.Serializable]
  19. public class Lode {
  20.  
  21. public string nodeName;
  22. public byte blockID;
  23. public int minHeight;
  24. public int maxHeight;
  25. public float scale;
  26. public float threshold;
  27. public float noiseOffset;
  28.  
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement