Hey guys. Super silly question here but I have zero experience with DOTS/Burst compiler, and I was curious if it makes sense to try and make use of the burst compiler with my culling system? DOTS just seems super complicated to get into, and I understand that it has some use cases and some non use cases. If I intend on rending a large number of buildings (lets just say, I don't know, 100), is it truly worth investing my time into learning dots to increase preformance? Or will it run about the same? Also how effective would Dots be at disabling/enabling meshrenderers like this? Huge thanks to anyone who can provide insight/anyone who spends time looking at this.
#Is DOTS/Burst compiler applicable for something like this?
1 messages · Page 1 of 1 (latest)
You probably just want batched enable/disable API
https://docs.unity3d.com/ScriptReference/GameObject.SetGameObjectsActive.html
For what it's worth, 100 is not a lot and this should work fine with GameObjects. DOTS, particularly ECS, becomes more significant at higher quantities and it can handle over 100k objects if you know what you're doing. Naturally, enabling/disabling objects is not expensive either.