- Home /
Wrong Texture Size
I have a GUI object which has the Rect_Box(0,0, 400, 208); and i am applying a texture of size 400,208 to it , but the object still appears bigger than the texture:
GUI.Box(Rect_Box, Texture_Box);
i have tried both Texture and Texture2D and the result is the same!
Comment
Best Answer
Answer by Mike 3 · Sep 27, 2010 at 01:57 PM
GUI.Box uses padding so that it displays the box around your image
If you just want to display an image, use GUI.DrawTexture(Rect_Box, Texture_Box);
Your answer
![](https://koobas.hobune.stream/wayback/20220613074106im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Substance Dynamic Texture Size 2 Answers
Unity 4096*4096 Texture Compression 1 Answer
Which one is better for iOS? 1 Answer
EPIC GIANT TEXTURE - possible? 3 Answers