I'm trying to make an item counter for my little game but the text is so small compared to the timer I have. The font size of my timer is 20. How can I make my item counter text bigger? I used this video for the codes https://www.youtube.com/watch?v=cg349rLy8Ro
static var gscore : int = 0;
function OnGUI() {
GUI.Label (Rect (10, 10, 100, 20), ("Esineet: " + gscore));
}
_
function OnTriggerEnter (info : Collider) {
Destroy(gameObject);
ScoreCount.gscore += 1;
}
↧