Text Size

How do you change the size of text? I tried the scale property in the Inspector window and coding it with:

function Update () {
		transform. localScale.x = 2;
		transform.localScale.y = 2;
}

but neither seems to work.

Thoughts?

Turn off Pixel Correct in gui text the inspector.

That was the problem. Thanks for the help.