private void Awake() { Settings = new TerrainChunkSettings(129, 129, 100, 40, FlatTexture, SteepTexture, TerrainMaterial); NoiseProvider = new NoiseProvider(); Cache = new ChunkCache(); }
private void Awake() { WorldGenerator = new WorldGenerator(); WorldGenerator.GenerateWorldMap(); var BiomeWorldmap = WorldGenerator.ElevationData; Settings = new TerrainChunkSettings(129, 129, 129, 40, FlatTexture, SteepTexture, SandTexture, TerrainMaterial); // Debug.Log("Settings Created"); NoiseProvider = new NoiseProvider(); Cache = gameObject.AddComponent <ChunkCache>(); //Debug.Log("Cache Created"); }
private void Awake() { Settings = new TerrainChunkSettings(129, 129, 100, 40, FlatTexture, SteepTexture, TerrainMaterial); Cache = new ChunkCache(); }