- Home /
Possible to change GUI.Label fontsize without using GUIStyle?
Is it possible to just change fontsize without having to declare new GUIStyles evertime you want to do minor changes?
Comment
no I dont think this is possible. Just create a skin with custom styles
Best Answer
Answer by iwaldrop · Jan 31, 2013 at 06:20 PM
Sure it's possible.
void OnGUI()
{
GUI.matrix = Matrix4x4.TRS(Vector3.zero, Quaternion.identity, new Vector3(2, 2, 1));
}
Oh sweet, that command looks like it is very useful. Thank you so much. :)
Your answer
Follow this Question
Related Questions
OS Error with fonts? 1 Answer
Problem Trying To Get GUI.Label Centred 2 Answers
Changing a GUILabel text SIZE 3 Answers
How to set the font size in GUI.Label 2 Answers
Color.white not so much white... 3 Answers