how can i increase the font size of textfield,
namestring=GUI.TextField(new Rect(320,100,300,80),namestring,10);
First of all. Graham, dont link something like this, is so ambiguous. Unity docs says: “fontSize is fontSize” -.-
Chalkesonali, your answer is right, but with some cap-mistakes…
In C# it would be:
GUI.skin.textField.fontSize = 30;
Tested and works.
It is documented here:
fontsize of textfield can be changed by using:
GUI.Skin.TextField.fontSize=30;