Quantcast
Channel: Questions in topic: "javascipt"
Viewing all articles
Browse latest Browse all 1875

Double Click problem in html5

$
0
0
I have a simple c# script that detects clicks, double clicks, and long presses. Everything works fine in Unity. BUT When I output to HTML5, double clicking makes things go crazy. I have an example: http://www.gorogorosama.com/clickTest/index.html After a double click, Input.GetMouseButton returns true even when the button is not pressed! Wild guess maybe because JS has its own ondblclick event that is interfering? Any ideas? Has anyone gotten double-clicking working from CS to an HTML5 build?

Viewing all articles
Browse latest Browse all 1875

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>