↧
Answer by Edy
You can specify the the opacity of a texture by setting each pixel's alpha value. However this is quite slow for fading animations (requires many [SetPixel][1] calls), so you'd better use a regular...
View ArticleAnswer by alyabov
ОК, I'll try it. Or maybe Graphics.DrawTexture can help? It has Material and Color in parameters list. So maybe I can to change alpha channel using it?
View ArticleAnswer by Cyb3rManiak
You can also alter the GUI.color (specifically GUI.color.a) right before the call to GUI.DrawTexture() to determine the transparency. Just make sure to return it to the previous color after it if you...
View ArticleAnswer by alyabov
Very good idea. Do this function change all GUI elements? I have 6 textures on the screen and each of them must have different opacity level. Oh, I understand how it works. Thanks to all for help!
View Article