How would I go about creating a background texture that works like the default one, where it somehow looks good no matter how large you make the button?
The default texture isn't listed in the texture picker, so I can't see what it actually looks like.
asked Apr 27, 2011 at 04:25 PM
I don't really see what background image you are talking about :p But if it is an example scene, you are probably talking about skybox, you can assign that in render settings (http://unity3d.com/support/documentation/Components/class-RenderSettings.html) or in your camera settings !
Hope it helps :)
answered Apr 27, 2011 at 04:43 PM
Sorry for reviving the old post, but I found this while searching for this exact solution. Eventually I found this tutorial and it answered all my questions. http://forum.unity3d.com/threads/creating-custom-gui-skins-part-one.113055/
To address this specific question. You can set the border as fixed by giving it a pixel size in the gui skin (about the pixel width of your boarder in the image). It will use that setting to stretch your custom background image in a specific way to prevent blurry/pixelated/crappy button backgrounds. Now you should be able to make a small image and have it show up correctly at any size.
answered Oct 18, 2014 at 03:00 PM