|
Hi everyone I have a problem with my GUITextures not resizing when I change the resolution of the game. I have tried several different scrips and tricks to make it resize properly, but have had no luck with any of them. So any help you can give will be greatly appreciated. Thank you.
(comments are locked)
|
|
Chris, I've had to use fractions when scripting, and that has seemed to do the trick. Here's an example: GUI.DrawTexture (Rect (Screen.width / 60, Screen.height / 2.015, Screen.width / 30, Screen.height / 40), image, ScaleMode.StretchToFill, false); You have a choice of using ScaleMode.StretchToFill or ScaleMode.ScaleToFit. Hope that helps.
(comments are locked)
|

Hey dude you know wat i thought i was the only one lol. I am having the same problem and i hope some one can help :)