SHARE
TWEET

Untitled

a guest Jan 21st, 2020 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top