Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Touchscreen Support

Discussion in 'Web' started by bakno, Jun 17, 2016.

  1. bakno

    bakno

    Joined:
    Mar 18, 2007
    Posts:
    604
    When running a simple WebGL project on a Windows10 device with touchscreen, touch gestures are treated differently by each browser. Runs fine on Mozila, limited on Edge with just taps treated as mouse clicks, but touch-slide not as mouse-drag. And it does not react to touch at all on Chrome.

    There has to be some kind of javascript code that translates touch events into mouse events, but we have not been able to make it work.

    Any help will be appreciated.