- Home /
Question by
floriankorsakissok · Mar 18, 2021 at 03:47 PM ·
animationandroidtouch
Android swipe from the top triggers onClick events
I have set my game as fullscreen on Android.
When a user wants to quit the game, like any other fullscreen app, they have to swipe the screen starting at the very top and towards the bottom, to make the top Android menu and the bottom Android buttons (go back, home screen, see opened apps) appear.
The problem is that this swiping also triggers the onClick events on the buttons located under the swipe. Isn't there a way to make Unity understand that these swipe events are special, and we should not interpret those as a 'click'?
This even sounds like a Unity bug to me.
Comment