- Home /
Question by
NinjaRubberBand · Sep 13, 2014 at 10:12 AM ·
guitextfontsize
Change fontsize on GUI textfield and GUI button
I want to make the text bigger in my GUI. I tried searching for a answer but i cant find any. So im asking for help.
Comment
Answer by YoungDeveloper · Sep 13, 2014 at 10:28 AM
Hi, you are looking for GUIStyle.
Define guistyle
Edit params from inspector
Assign style to your gui element
public GUIStyle style;
private void OnGUI(){ GUI.Label(new Rect(0,0,100,25), "Hi", style); }
Your answer
![](https://koobas.hobune.stream/wayback/20220613162919im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Problems about GUI fontsize 1 Answer
Big text field GUI. 1 Answer
Displaying varying text 1 Answer