unity – How to manually refresh/update rect transform of input field via code after having changed the text/font size?


I’m making updates to my text/font size to my tmp input field when I change a slider value, however it doesnt actually update the rect size of it until I select it. Is there a way to man. update the rect size when I change the font size/value? Only way seems 2 be to reinstantiate the obj, no thanks. Any other ways?



Source link

More To Explore

Share on facebook
Share on twitter
Share on linkedin
Share on email