Quantcast
Channel: UGUI & TextMesh Pro
Viewing all articles
Browse latest Browse all 23263

Force button release

$
0
0
Hello,

On mobile devices, when you press an UI button his state changes to pressed. If you move your finger outside de button while keep pressing, the state stills pressed even your fingir is no longer over the button.
I want to force the button to be released (at least visually) when you finger moves outside the button.

I have already this event (finger leave) checked manually, but I am not finding any function or property of the UI Button class that allows this behaviour.

Any help? tks!

Viewing all articles
Browse latest Browse all 23263

Trending Articles