|
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!
(comments are locked)
|
|
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);
(comments are locked)
|
