Touch events in WEBGL working?

I have tried to get simple touch commands working in Webgl but it does not seem to be working. Does this not work correctly? I see touch event handling etc in the exported Js file but the touch events I have defined do not work. This is on a windows 8 touch tablet running firefox. This was using version 14 of the unity 5 beta, upgrading to 16, maybe that will fix it…

Thoughts?

Thanks,
Jason

Touch events are not currently exposed in Unity WebGL.

You could probably process them using custom JavaScript event handlers.

Do you guys plan to support them during the 5.x cycle?

Probably yes.

1 Like

I found a solution, if you grab the touch script package from the asset store they have them working for webgl export. At least for version 14 of the 5.0 beta