Author Topic: Android Remote touches triggered twice.  (Read 2335 times)

MaskedPixel

  • Guest
Android Remote touches triggered twice.
« on: July 18, 2012, 05:57:05 PM »
I am using Android Remote with version 2.1 of NGUI on the most recent version of Unity3d.  The touches on my android device are processed twice by UICamera.  Once by ProcessTouches and once by ProcessMouse.

Is this the expected behavior?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Android Remote touches triggered twice.
« Reply #1 on: July 18, 2012, 07:02:28 PM »
That's because Unity Remote is sending out events from both Mouse and Touch events. Select the UICamera and uncheck the Mouse events.

MaskedPixel

  • Guest
Re: Android Remote touches triggered twice.
« Reply #2 on: July 20, 2012, 08:26:50 AM »
Thank you.