During the developing, I found that when I did a tap motion, the point event is executed twice, which leads to a wrong behavior. After debugging the source code, I find that the pointer event is executed twice inside the leap SDK. I think it’s a bug and hope you can take a look on that.
I’m a leap motion developer working on a Unity 2D project. The leap input module that I used is UIInputModule-1.2.0
.
In LeapMotionModules\UIInput\Scripts\LeapInputModule.cs
, the execute event runs twice in line 550 and 552. After annotated line 551-553, my program works perfectly. I think line 552 should be removed.
Thanks.