- Home /
How to make a GUI button invisible?
Hello I am trying to make GUI button that is invisible behind a texture so that you cant see the GUI button, only the texture. Thank you in advance
Answer by getyour411 · Jan 18, 2014 at 01:55 AM
Use GUI.Depth and position the texture in front of the button, or just position the texture above the button and draw it after the button in OnGUI
Yes but doesnt that mean that although the texture is in front of the gui button you can still see the gui button
Yes it does unless you go out of your way to choose a texture with alpha/transparency which would be as silly as this question as a whole.
Your answer

Follow this Question
Related Questions
Error : Expressions in statements must only be executed for their side effects. 1 Answer
Reduce Draw call for Multiple GUI Textures with same Texture 1 Answer
Gui button still visible when texture added. 1 Answer
Making a Health Bar with Code 5 Answers
How do I set up a GUITexture as a button? (Java Script) 2 Answers