UGUI HUD text size problem

General support.
Post Reply
User avatar
gui123
New Member
New Member
Posts: 2
Joined: Fri Dec 11, 2015 2:10 pm

Hello, I've purchased the UGUI HUD through unity asset store. I managed to bind it to an object, I can change text color, speed etc. However the text size doesn't seem to be changing. I put 1,10,5000 when I call the function, still the text size is the same. :?
User avatar
Lovatto
Admin
Admin
Posts: 1834
Joined: Sun Dec 07, 2014 3:18 pm
Contact:

Hi.

- due to the appearance we limit the default font size to a maximum of 20, but of course you can increase this limit by simply changing this:
in bl_HUDText.cs in the line 198 (for default) have this code:

Code: Select all

 fontSize = Mathf.Clamp(fontSize, 1, 20);
you simple need increase the max (20) to your taste.

Regards.
How to find your Invoice Number: Here
How to find your Order Number: Here
User avatar
gui123
New Member
New Member
Posts: 2
Joined: Fri Dec 11, 2015 2:10 pm

thanks a lot for the fast response.Everything is working fine now. :D
Post Reply