Dynamic font size

How can I change the font size of a GUILabel according to the Screen.Height and Screen.Width data?

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(Rect,Text,Style);

Hi, it’s better to use screen width, than height:

function Start(){
    var screenXp:float = Screen.width/100.0;

    myGUIStyle.fontSize = screenXp*2.6;
}