Newbie question: How can I add transparency image (2D) in Unity3D

I would like to add external image ( 2D ) to Unity3D to created a 2D button ( transparency ), I have tried to used “.png” file but it doesn’t works.

Would anyone can tell me what graphic format support transparency for Unity3D?

Thanks.

Regards,
Simon.

if it’s for a GUI just a png then change it from texture to GUI in you inspector from your project assets.
if it’s for a plane like to do a foliage, use a png + a transparent material, It will automatically detect your alpha, not sure that it’s the best way, but it works…

Got it! Thanks…

I also got the code from example that using coding to show the png file which can be transparent.

Regards,
Simon