private void NetworkClientChunkReceived(ChunkData chunkData) { var chunk = _worldProvider.GetChunk(_clientStartParameters.ProjectId, chunkData.Position); chunk.UpdateWorldChunk(ref chunkData); _worldRenderer.UpdateChunk(chunk); }
private void NetworkClientChunkReceived(ChunkData chunkData) { var chunk = _worldProvider.GetChunk(_clientStartParameters.ProjectId, chunkData.Position); chunk.UpdateWorldChunk(ref chunkData); _worldRenderer.UpdateChunk(chunk); }