Question by
TimTheEngineer · Mar 13, 2018 at 02:44 PM ·
uitext
Get height of text with given width.
Okay, so I have a problem that I cannot seem to fix. I have a Text Object with a set width, and a height I can change to whatever I want.
Now I have a new text, which could be anything. How can I calculate the the height of that text so that I can properly change the Text Object?
Comment
Your answer
Follow this Question
Related Questions
uGUI Text draw calls 1 Answer
I can't change Text color 3 Answers
How do I let users change the background color of a selected word in an input field? 0 Answers
UI Text rendering in front and behind planes 0 Answers
UI TEXT not showing up in game mode 1 Answer