- Home /
C# Changing GUI font size
Hello, I am fairly new to C#. I have no idea how to change the font size of this simple line of code. Can anyone give me a little help?
public int Health = 10;
void OnGUI (){ GUI.Label(new Rect(303, 200, 100, 100), Health+"/50");
}
Comment
Format your code : http://video.unity3d.com/video/7720450/tutorials-using-unity-answers
Information on GUI style and skin :
Just FWIW ...
on typography in Unity, notice my long answer here
Your answer
![](https://koobas.hobune.stream/wayback/20220613095648im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
How to find a font via script? 2 Answers
GUIskin global font size 0 Answers
When my character is changed to a Humanoid, it gets huge 1 Answer