|
Post by swanja on Feb 17, 2018 17:11:26 GMT
First, thank you for awesome plugin. It has saved me a ton of work. We are doing a pixel perfect game and we are using ProCamera2D. We have thousands of sprites on the screen in the worst case. Even though 99,5 % of those are static, the iterating the sprites seems to take surprisingly long time according the profiler. It is not critical level but still, I would like to have it better.
My question or suggestion is that do you have any plans to use upcoming Unity features like Jobs, NativeArrays and/or ECS to speed up pixel perfect plugin? I am no expert in those, but to me it seems that those techniques could boost the performance of iterating to loops.
|
|
|
Post by Luís Pedro Fonseca on Feb 17, 2018 19:15:23 GMT
Hi Swanja, if your PixelPerfectSprites are static (i.e. they're not marked as "moving") they should have no impact on the performance of the game during runtime.
Are you sure the performance hit is coming from ProCamera2D?
|
|