Change Gui-Label size

Hi,

I have a label that schows the player name. Now I want to change the size of the label, so I need something like this:

GUI.Label (namePos, <size=40>playername)</size>;

But I can’t use “” like this.

Thank you for your help!

you should try looking at the GuiStyle(it has alot of useful methods) and then add it to the created label:

GUIStyle style = new GUIStyle ();
style.fontSize = Screen.width/30;
GUI.Label(namePos,playerName,style);

and as fontSize give anything you like usualy its good to give somthing related to the screen size