public Chunk GetChunk(Vector3 position) { if (!Chunks.ContainsKey(position)) { Chunks.Add(position, WorldGenerator.GenerateChunk(position, this)); } return(Chunks[position]); }
public Chunk GetChunk(Vector3 position) { if (!Chunks.ContainsKey(position)) { Chunks.Add(position, WorldGenerator.GenerateChunk(position, this)); } return(Chunks[position]); }