The text I am using is really small. I need to get it bigger to be seen on a mobile phone.
function OnGUI ()
{
GUI.Box (new Rect(Screen.width/2-sizeX/2, offSetY, sizeX, sizeY), "Score: " + currentScore);
if(fading)
{
GUI.color.a = Mathf.Lerp(1.0, 0.0, fadeOut);
GUI.DrawTexture(Rect(0,0,Screen.width, Screen.height), fadeTexture);
}
}
It works great, I have tried several of the ways here, but they do not work on mobile. What am I doing wrong?