- Home /
Problem at adding GUIText on unity4.6 2D Project
Hi guys, I'm writing new 2D Game but i have one problem on new version of unity 4.6 that is i can not add GUI Text to show scores, i tried this way ~> Create new empty Object > component > rendering > GUI Text ... but it doesn't show Text's content at front of camera for user so what should i do? Does any person have solution for this problem? Thanks
Answer by Graham-Dunnett · Feb 06, 2015 at 05:38 PM
The documentation:
http://docs.unity3d.com/Manual/class-GuiText.html
says that the positioning of the GUIText is between (0,0) and (1,1). To get the text in the middle of the screen, set the x and y value of the transform to be 0.5. This is described slightly better in the 5.0 documentation.
Your answer
![](https://koobas.hobune.stream/wayback/20220613182645im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How can I add the GUI texts in the "Roll-A-Ball" game in Unity 4.6 ? 1 Answer
Displaying my variable on a gui text 0 Answers
Detecting GuiText click 0 Answers
Problem Displaying Score on GUI text 0 Answers
Unity 4.6 - Access Button By Script 1 Answer