- Home /
Get status of GUI Button 4.6
How do I get if a GUI Button is being pushed down. I am using a mobile phone, so is there a way to get the status if the button is highlighted? I just need it to be true if finger is on button, false if it is not.
Answer by g8minhquan · Oct 15, 2014 at 05:25 AM
You should attach an "Event Trigger" component of the UI 4.6 to the button and handle all events you want
Answer by Cynikal · Oct 14, 2014 at 06:00 AM
This doesn't really help me too much because i need it to work with the new 4.6. I mean i might not HAVE to, but it would be a lot neater, and i dont know if the scripting GUI works wit the canvas
Your answer
Follow this Question
Related Questions
Setting Scroll View Width GUILayout 1 Answer
4.6 - Using new GUI with JavaScript functions 1 Answer
Text wobbles as Content changes 2 Answers
Unity v4.6 Joystick? 2 Answers