- Home /
How to stretch a GUI texture over it's original size?
I need to create an application for iphone and ipad, i already have most of the fonts and buttons automatically resize based on screen height and width. Unfortunately textures don't stretch over their former size. I can get them smaller via the stretch options in GUIStyle. Is this a limitation of Unity GUI's controls?
Answer by Mike 3 · Jan 15, 2011 at 05:13 PM
Assuming you just want to draw a texture and nothing else, you can use GUI.DrawTexture to draw the texture at whatever size you like without messing about with styles
Your answer
Follow this Question
Related Questions
GUI button doesn't appear on Android 0 Answers
GUI.DrawTexture on GUI.Button press 1 Answer
GUILayout.Button scales texture wrong 0 Answers
Making GUI Buttons on a GUI Texture 1 Answer
How to change a GUI button texture through scripting 1 Answer