WebGL and Touch

If I choose WebGL for the build of my project, Input.Touch and all touch functions stop working in the editor. They work if I choose android build. Is this normal?

Yep, that’s normal. I think Unity runs mouse input through the touch API on Android in the editor because an Android build typically can only respond to touch, whereas a WebGL build can respond to both touch and mouse (like on a Surface Pro tablet, for example) and needs to be able to allow the developer to do different behavior for each.

That being said, I’d definitely love an option to run all of the touch input for single touch through the mouse API, but I’m unaware of anyway to do that currently.

Thank you for the information !
Ok, but then how do I test a webGL application that uses Touch Input. Maybe I should choose andoid build when I’m creating the scripts for touch input, and then switch to WebGL?

Kalata8662 - Have you find out if it works?