How can I make the size of the font in a label larger?
I used this function to display the text :
function OnGUI()
{
GUI.color = Color.green;
GUI.Label(Rect(500,350,200,50),"Lose");
}
And that results in:
How can I make this text bigger?
Simply create an appropriate
GUIStyle
and set thefontSize
. Pass this to your label and you're good to go.So something like this:
will result in
Unity's GUI supports "rich text" tags now.
http://docs.unity3d.com/Documentation/Manual/StyledText.html
So this would work: