How to draw a transparent texture in GUI?

Hi! I have a .png picture which background is transparent. When i draw it in GUI the background became all white, not transparent. Is there any way to solve that problem? THX!

Simply Click on your Texture >>In INSPECTOR change Texture Type : GUI
apply settings

it will work fine…

[25343-screen+shot+2014-04-17+at+6.05.13+pm.png|25343]

Either the alpha isn't working properly, or you're not select the correct import option. Ensure you chose RGBA (24bit, 16bit, dx/pvrt, doesn't matter) for whichever method of compression you chose.

Hi.

I also had the same problem, I managed to find the following shader help within the spaceinvaders project. see link here Invaders Project

You could also paste this code into a shader to achieve the same effect.

http://www.unifycommunity.com/wiki/index.php?title=AlphaSelfIllum

or alternitivly try this for double sided

http://www.unifycommunity.com/wiki/index.php?title=AlphaDiffuse2sided

or this that doesnt work with blending, so its a little faster to use. http://www.unifycommunity.com/wiki/index.php?title=UnlitAlpha

Hope that helps a little.

Select your png in the project panel. In the Inspector panel you will see the import settings, make sure you select GUI in the Texture Type dropdown, and then click Apply. This way your texture will keep its transparent background when using it as GUITexture