Skip to content

Chunk deallocation issue #3

Answered by paternostrox
jouborges asked this question in Q&A
Discussion options

You must be logged in to vote

The code responsible for this is located in TerrainManager.cs. In the main game scene (VoxelWorld.unity) you can view TerrainManager exposed attributes, including "Chunk Spawn Size" and "Chunk Keep Size", they control how many chunks get spawned and kept in the world.

By default I set the keep size to be slightly bigger than spawn size for performance reasons, but if you want to change them be free to do so.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jouborges
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants