How can i make GUI Text bigger(larger),here is my script:
function OnGUI () {
GUI.color = Color.yellow;
GUI.Label (Rect (9, 30, 500, 20), scoreText.ToString()); }
How can i make GUI Text bigger(larger),here is my script:
function OnGUI () {
GUI.color = Color.yellow;
GUI.Label (Rect (9, 30, 500, 20), scoreText.ToString()); }
On platforms with dynamic fonts you can do this:
var style = new GUIStyle("label");
style.fontSize = 80;
GUI.color = Color.yellow;
GUI.Label (Rect (9, 30, 500, 20), scoreText.ToString(), style);
Mobile platforms require you to switch the font to another one at the new size using a similar technique.