1
Support / Re: GUIText Positioning in GameObject
« on: August 16, 2013, 02:45:06 am »
I don't use GUIText in Unity - I am using tk2dTextMesh in this purposes for GUI dynamic (and some static) texts, in other cases i use text as sprite.
I don't know about GUIText, but:
1) all texts with tk2dTextMesh costs 1 draw call as they have the same material (for many fonts - simple pack it all in one spriteCollection)
2) I use GUI functions only for debugging because GUI elements drawing costs one draw call per element
3) text alignment (and other gui elements) is very simple: I use my custom component for that, but tk2d package contains the same component (tk2dCameraAnchor)
I don't know about GUIText, but:
1) all texts with tk2dTextMesh costs 1 draw call as they have the same material (for many fonts - simple pack it all in one spriteCollection)
2) I use GUI functions only for debugging because GUI elements drawing costs one draw call per element
3) text alignment (and other gui elements) is very simple: I use my custom component for that, but tk2d package contains the same component (tk2dCameraAnchor)