How to changes font, color & size of the text in textfield?

Hello… Please help me about changing the size of the text and color and font of a textfield? idont know how :frowning:
Thank you in advance …

Name = GUI.TextField(new Rect(755,210,135,32),Name);

One of the overloads of GUI.TextField() will accept a GUIStyle.

This GUIStyle can be extensively customized using the Inspector as documented here.

Try this … c# code

public string email;

public GUIStyle username_style;

username = GUI.TextField(new Rect(45,415,550,100),username,25,username_style);

Now you can edit or change Font size, font style etc in unity inspector as shown in figure.

NOTE: Write this code inside OnGUI(){}25220-image.png