I am developing a 2D game for Mobile, in my scene I have 500 UI elements, in the old cell phones the game goes very slow, the phone gets very hot, there are some ways to increase the performance of UIs?
Any time one UI element changes, all of your vertex buffers have to be recalculated, which includes comparing every element in the canvas for overlap with every other element. If you divide your one canvas with 500 elements into 20 canvas with 25 elements each, this processing will be much faster, and only the canvas that have an element that changed will have to be rebuilt each frame.