Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

Text Size

Discussion in 'Editor & General Support' started by shawnpigott, Apr 6, 2006.

  1. shawnpigott

    shawnpigott

    Joined:
    Sep 28, 2005
    Posts:
    262
    How do you change the size of text? I tried the scale property in the Inspector window and coding it with:

    Code (csharp):
    1.  
    2. function Update () {
    3.         transform. localScale.x = 2;
    4.         transform.localScale.y = 2;
    5. }
    6.  
    but neither seems to work.

    Thoughts?
     
  2. Joachim_Ante

    Joachim_Ante

    Unity Technologies

    Joined:
    Mar 16, 2005
    Posts:
    4,735
    Turn off Pixel Correct in gui text the inspector.
     
  3. shawnpigott

    shawnpigott

    Joined:
    Sep 28, 2005
    Posts:
    262
    That was the problem. Thanks for the help.