- Home /
Changing the size of a text object to only be as long as the letters
Hi there,
I asked a question not too long ago about making a collider the same size as the text. I got an answer that worked perfectly in the context of the question that I asked. Unfortunately I didn't ask the question right.
What I was really wanting to know was how to change the size of the actual text object to be only as wide as the text that is read from an XML file (it is different every time).
I believe I can then use the answer from the last question to make the collider the same size as that.
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
How to display an array of texts on one at a time on button press? 3 Answers
Having an issue with setting the minimum size for a field size 0 Answers
Distribute terrain in zones 3 Answers
How to measure width and hight in a object in unity using c# codes ? 1 Answer