Question by
Rick74 · Jan 16, 2018 at 01:04 AM ·
guionmousedownbutton trigger eventsbuttonstates
Change button to work OnPress instead of OnClick?
Working with Unity's UI system, I'm not seeing a way for the buttons to call a method when the button is pressed down. (when the button if first pressed).
It seems the default behavior is to only call the method in the state of OnClick(). Meaning after the button's been released.
Is their a way to do this?
Thanks.
Comment
Answer by StartStart · Oct 17, 2018 at 08:53 AM
I want this too. Can we change OnMouseUp to OnMouseDown in default Button ( UI ) ?
Your answer
Follow this Question
Related Questions
GUI Button Moving with a mouse 0 Answers
Button Help 1 Answer
UI does not work in build 0 Answers
clicking button using script? 1 Answer
how to create a button which can collapse like show more info , something like description? 0 Answers