Hello,
I am trying to use the GUI TextBlock and Image components to display an icon and a text underneath it (number count) on top of a hexagon.
In the scene, there can be hundreds of hexagons at once. Without instantiating the GUI components, the scene runs with no much problem at all, 200~ hexagons at 60fps... With it, the fps drops considerably.
Is there any GUI optimization advice you guys can give me? I would appreciate it.
constructor(parentHex, text, sizeScale, icon