Search Unity

Question OnDrag/input.MousePosition don't register changes per pixel

Discussion in 'UGUI & TextMesh Pro' started by dynamicvoltagegames, Feb 16, 2023.

  1. dynamicvoltagegames

    dynamicvoltagegames

    Joined:
    Apr 15, 2019
    Posts:
    24
    In my screen space camera, when I check either OnDrag position or MousePosition, it skips pixels, but ONLY in an Android build. It works fine in editor. I have to drag my finger across several pixels before it gets the new position for either (and they have the same X/Y values). I haven't had this issue with other projects, so I'm not sure what setting I have that's a problem here.
     
    Last edited: Feb 16, 2023
  2. SF_FrankvHoof

    SF_FrankvHoof

    Joined:
    Apr 1, 2022
    Posts:
    780