- Home /
Question by
OrbitGames · May 19, 2014 at 05:58 PM ·
guitextlabel
Display GUI Text in update function
I am tired of having tons of checks which gui elements are activated and which ones aren't so I'd like to know if there is a way to display a gui text outside of OnGUI() similar to the Graphics.DrawTexture.
Comment
Best Answer
Answer by fafase · May 19, 2014 at 06:14 PM
I think you have your answer in your question. You want a gui text that is not GUI then use GUIText which is a component attached to a game object and is not GUI.
https://docs.unity3d.com/Documentation/Components/class-GuiText.html
Your answer
Follow this Question
Related Questions
Changing a GUILabel text SIZE 3 Answers
Color.white not so much white... 3 Answers
How to set text(timer) to a fixed place 1 Answer
How to clear a GUI Label 1 Answer