Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: ConnersCraft on July 27, 2013, 11:42:58 AM
-
Is it possible to change the font size in a basic GUI Button? I could always just make my own button, but I have no problems with the basic ones included. I feel really dumb like I am missing something obvious, but all help is much appreciated. Thanks.
-
You have to make a custom GUISkin then use the SetGUISkin action to activate it.
Then use the Style parameter in the GUI Button action to use the named style for the button.
GUISkins are made in the Unity editor. Take a look at the Unity reference here:
http://docs.unity3d.com/Documentation/Components/class-GUISkin.html
Also search this forum for GUISkin and GUIStyle.