- Home /
Question by
Proditschy1 · Dec 12, 2014 at 10:45 PM ·
gui-buttongui buttonpressed
OnAnyButtonPressed?!
Hello, I need to do something in my Game each time a GUI Button is pressed but not a specific one... rather everytime any GUI Button is pressed. Is there a way to do this easily?
Comment
Answer by AngryBurritoCoder · Dec 12, 2014 at 11:13 PM
just make a script to detect when any of them is pressed and do something ? pretty simple
Your answer
![](https://koobas.hobune.stream/wayback/20220613173916im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
GUI Button to toggle true false when pressed 1 Answer
button pressed twice / Conversation text skip 5 Answers
GUI problem 1 Answer