I have created a simple game front end using the new UI framework in Unity 5. Among other things, I have a button which calls a function to increment a counter when the button is clicked. In the editor this works fine - the counter increments on mouse up. In WebGL the button triggers on mouse down, and keeps triggering every frame. Does anyone have any suggestions on how to fix this?
↧