public ChunkCellData(CellSettings settings, CaveChunkManager chunkManager, Vector3Int chunkCoordinate) { _chunkManager = chunkManager; Settings = settings; ChunkCoordinate = chunkCoordinate; //ChunkSeed = Settings.GenerateSeed(Settings.Seed, chunkCoordinate); _noiseGenerator = new Noise(Settings.Seed); }
protected ChunkCellData(CellSettings settings, CaveChunkManager chunkManager, Vector3Int chunkCoordinate) { Debug.Log($"Created chunk {GetType()}"); _chunkManager = chunkManager; Settings = settings; ChunkCoordinate = chunkCoordinate; ChunkSeed = Settings.GenerateSeed(Settings.Seed, chunkCoordinate); }
public GeneratedChunkCellData(CellSettings settings, CaveChunkManager chunkManager, Vector3Int chunkCoordinate) : base(settings, chunkManager, chunkCoordinate) { }