Question by
Serega4567 · Apr 28, 2021 at 09:21 PM ·
touchtouchscreenpointer
Tapping in the same place of touchscreen doesn't call OnPointerDown method
I'm creating a custom button with a simple clicker mechanic using IPointerDownHandler and IPointerUpHandler. Every time I press the button, It plays a oneshot sound. In Windows Editor and on Android with a mouse connected, it works fine. However, things get weird with finger taps. The oneshot doesn't play sometimes when I tap several times in the same place. But if I tap the button every time in different places, everything works as expected.
So, I suppose there should be an option like touch threshold or something. By the way, I'm using new Input System package. I still haven't been able to find it. I also haven't found anyone to have encountered this problem before.
Comment