Hi
I have a game object that has 2 UILabels in it.
At the moment the game object is a UIPanel, and I add loads of these to a parent UIPanel so the tree is like this
UIPanel
- UIPanel
- UILabel1
- UILabel2
- UIPanel
- UILabel1
- UILabel2
- UIPanel
- UILabel1
- UILabel2
- UIPanel
- UILabel1
- UILabel2
Doing it this way increases the draw calls because each UIPanel is using 2 draws, so the total for the above is 8 even though I'm only using 2 font atlases.
I cant really add all the labels straight into the master UIPanel because Label1 and Label2 need to be in one container for position and scale tweening.
Is there a better way I can do this to bring the draw calls down?
Thanks for any help!