- Home /
Question by
Nycther · May 24, 2015 at 12:27 PM ·
textheightwidthdimensions
Generating Text with a script - setting width/height?
So I am trying to add text at a specific location which displays a number that I can update.
I add the component to an existing object with AddComponent() The only way I can change the width/height is using localScale but this changes the size of the text as an undesired effect.
Is there a way to set the size of this text from the default 100x100?
Comment
Your answer
Follow this Question
Related Questions
height and width of label/box depending on amount of text 2 Answers
behavior of Screen object differs in Unity 3 1 Answer
Changing the size of a text object to only be as long as the letters 0 Answers
Unity not dividing correctly C# camera pixel width & height 1 Answer
Pixels to units question 1 Answer