- Home /
Write Text On Screen at Position
I'm running into my last little issue (for the moment) where I can't find any way to write text on the screen without using a GUI.Label. I have lots of GUI running already so I want to avoid that. Also GUI Text is looking pretty rough to implement as well for my particular need.
So...... Is it at all possible?
Bleh.
Was hoping there would be something as simple as GUI.DrawTexture for text. GUIText and the 3d Text will not work in my particular instance :(
Going back to styles temporarily until I can think of a workaround.
Oh well, thanks for your answer! Err... comment.
GUIText is the easiest way to go. You can create one prefab and then instantiate it as many times as you want. Simply set the position from 0 to 1 according to the location you want on the screen (hence 0.5, 0.5 will be center of screen).
If you want something like GUI.DrawTexture, you have either GUI.Label or GUI.Box, but they are less efficient.
Answer by robertbu · Oct 24, 2013 at 04:02 AM
Not sure what you are looking for or your specific issues, but within Unity there is also:
In addition, third-party UI solutions like NGUI and EZGUI have their own text solution. Plus there are text solutions in the AssetStore as well.
Your answer
Follow this Question
Related Questions
Text "Best Fit" is not working for Bitmap fonts? 1 Answer
Is there a way to get the size of text? 1 Answer
Font Scaling Issues 2 Answers
Best method for multiple styles within textbox? 1 Answer
GUI text font change 3 Answers