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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

double touch(clickcount) has logical bug in TouchInputModule

Discussion in 'UGUI & TextMesh Pro' started by jhkimblue, Mar 27, 2015.

  1. jhkimblue

    jhkimblue

    Joined:
    Mar 27, 2015
    Posts:
    14
    In mobile device, clickCount is always 1. please fix this issue.

    i used iphone5 and i could see this bug in various device too.
     
    Last edited: Mar 27, 2015
  2. scopigno

    scopigno

    Joined:
    Jul 10, 2014
    Posts:
    9
    Any workaround solution?
     
  3. eses

    eses

    Joined:
    Feb 26, 2013
    Posts:
    2,637
    @scopigno

    Hi, bit old thread, but anyways, if it's really not working (not sure about that since haven't used it), have you tried just having a variable where you store click count yourself?

    Just collect clicks in OnPointerClick method?
     
    scopigno likes this.
  4. scopigno

    scopigno

    Joined:
    Jul 10, 2014
    Posts:
    9
    Done. Everything is working now. Thanks.