I need to enable/disable a very large amount of game objects. Which was is fastest?
Hi,
I have a 3D grid of cubes that can be as 100 ^ 3 (and later on much bigger) and I need to go through them and enable/disable them based on some algorithm but it's very slow as you imagine.
I tried enable and disable the mesh renderer and box collider but apparently it's even slower than enable/disable the game object.
I think the final solution is to do it in another thread but it will just gets the lag out of the and will still be very slow.
Thanks
Comment