Closed soraphis closed 5 years ago
This does not belong here. I've send it in as an issue and it can be found here: https://issuetracker.unity3d.com/issues/movemouseevent-dot-button-returns-0-both-when-no-button-is-pressed-and-when-the-left-mouse-button-is-pressed
in events (e.g. registered by RegisterCallback)
"button" is always 0 if no button is pressed. It also is 0 if the button 0 is pressed. (its 1 if button 1 is pressed).
it should be -1 or something like this if no button is pressed. that way you can check for button presses in non-MouseDownEvents