hey guys,
I am recently trying to learn UGUI, here are some question about batch.
I have six buttons in the hierarchy. They use different sprite and all packed in same atlas. I look up some doc about optimizing They always say pack all sprite in same atlas can reduce batch. but after doing this, I found that the batch count still remains 6 instead of 1.
So i think batch count depend on the button’s order. i change the button’s sources like this 1 is a source, 2 is b source, 3 is a source and so on. I think the result will be 6 but it becomes 2.
Does anybody can explain the relationship between atlas and hierarchy order and the right way to optimize UGUI ?
Thank you for any help you can provide.