- Home /
2 Position GUI Texture Rocker Switch
I have a two position rocker switch and I am trying to figure out how to make this into a Texture GUI Button Where if I click on one side of the button I can get something to happen and if I click on the other side of the button to have something else happen. I also want to state chafes so it looks like the button works just like a rocker switch. Has anyone done anything like this and how could it be done?
I'm still not finding any information on this, I could have sworn there was a way to click one side of a texture GUI button and also be able to click the other side so you could have like 4 states on a button. You can see my graphic above so I'm sure you know how those switches work, Press down on one side and something happens while the other side of the switch reacts also because it is a "Rocker Switch" $$anonymous$$aybe the code it too complicate and none has bother to make such a switch..... which would be funny because I REALLY didn't think I was trying to break new ground here. lol ;)
Your answer
![](https://koobas.hobune.stream/wayback/20220613172759im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Adding script to Gui Texture 1 Answer
various teleporter buttons in scene and on the map 0 Answers
GUI Button overlay separate from main camera 1 Answer
GUI Button not displaying an icon 3 Answers
Main Menu GUI Button - Animation? 1 Answer