I am working on a 2D game, and my camera is a orthographic with a size of 320.
I want to display some text, but not with
OnGUI(). Rather, with a
GUI Text game object.
I couldn't help but notice that positioning my GUI Text object is a real pain: apparently, the onscreen coordinates where the text appears range from 0 to 1. That is, 0.5 is the center of the screen.
If I wanted to put my label at exactly
(100,50) regardless of the screen size, I would have to calculate something like
(100f / Screen.width, 50f / Screen.height)
Is there a way to tell the GUI Text to appear at the actual transform position as it appears on the scene editor? Currently, if you move the GUI Text game object's transform slightly to the right, the rendered text will be displaced a LOT to the right instead...