Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Issues with Input

Discussion in 'Windows' started by Kinerius, Aug 13, 2013.

  1. Kinerius

    Kinerius

    Joined:
    Jul 29, 2013
    Posts:
    5
    Hi, I have a game working fine in android/ios but when I build the game in wp8 (Master/ARM) when i do a single tap it counts as multiple taps, has anyone encountered or fixed this problem?
     
  2. Lexustio

    Lexustio

    Joined:
    Jun 26, 2013
    Posts:
    18
    If you are using NGUI, untick "Use mouse" from your UI Camera script (in the inspector).
     
  3. Kinerius

    Kinerius

    Joined:
    Jul 29, 2013
    Posts:
    5
    My bad, i have a script that detects the touch input in every "touchable" object, this script sends a message with SendMessage("OnMouseDown");
    looks like this has a strange behavior on wp8 and every object in the scene is receiving the message. Im currently working on this.

    EDIT: Solved! i was using void OnMouseDown () for getting the message, looks like on WP8 a single touch count as a click too, so i was getting 2 OnMouseDown calls, just changed all the method names and now it works fine :)
     
    Last edited: Aug 14, 2013