Unity and Android input touch?
Hello, I have a question about android devices and inputs. Currently I have a game for android that works without any input.touch. Right now all I'm using is Input.GetMouseButtonDown(0). For the devices I have personally tested this works fine.
Should I change this to Input.GetTouch and has any had any errors or big problems from this?
I have gotten crash reports from some devices about "ANR Input dispatching timed out (Waiting to send non-key event because the touched window has not finished processing certain" and then the error message ends. After disabling animations the crashes seem to stop. Does anyone have some ideas of what might be going on?
Thanks a bunch!
Answer by Anas173 · Jul 16, 2016 at 11:43 AM
Use unity standard assets. they have a folder for mobile devices which contains prefabs for mobile touch
Your answer
Follow this Question
Related Questions
Moving character with touch buttons (Android) 1 Answer
Move two players in the same Screen (Input.TouchCount) 1 Answer
Move Character using Finger Gestures for Unity 0 Answers
How do you detect if a touch is hitting an object? 0 Answers
I have a problem with skinned render mesh on Android. 0 Answers