I face to a problem about touch count in input section.
I’d like to get my app running on both Android and editor(or emulator).
but I found that I can’t get the touch count in editor/emulator by mouse click.
I’m wondering that how unity implement the Input.touchCount especially in android system.
ps. I know I can add addition code to process the mouse click event by [ if Input.touchCount == 0]
but I still want to know any other resolution that I can simulate a touch event on editor or emulator (ex: VirtualBox environment)
Thanks for reply.
Let me explain more.
I used 2~3 emulators of android to run a same app.
Some of emulators can get Input.touchCount = 1 while mouse clicked,
but some cannot.
So, I’m wondering that how unity implemented the touchCount, I’d like to fix the setting of emulator.