New input system and touch on webgl
Hi, I am trying the new input system and it works great on webgl for mouse/keyboard but touch doesn't work on webgl. With the old input system touch is automatically working in UI and things like getaxis horizontal, but with new one even the UI doesn't respond to touch input (obviously this is on mobile devices that have touch in the browser).
Is there something special that needs to be added to accept touch for webgl?
I have the default UI actions setup:
Answer by MildakZebrak · Dec 16, 2021 at 03:29 PM
I've got the same experience. Plus if I build the app for android APK, everything including touches works just fine. If I build webGL, touches does not work. (I know that webGL is not officially supported on mobile platforms, but my employer is forcing me to use it anyways so I have to try my best and bend it somehow.... :-( )
Your answer
Follow this Question
Related Questions
Disable Input.getTouch in full screen 0 Answers
Touch screen not working on Android build? 0 Answers
When The Screen Is Touched Jump 0 Answers
how to make touch to press a key 0 Answers