- Home /
Android detects 2 finger touch but not 1 finger touch
void Update() {
Debug.Log("touch count: " + Input.touchCount);
}
In Logcat I'm seeing "touch count: 0" with one finger on the screen.
with two fingers, I see "touch count: 1" and then for every next finger I touch the screen with, it's "touch count: [n-1]" until it gets confused around 5 or 6.
Unity 5.1.1f1 running the Google Cardboard demo app on a HTC One M8
Has anyone else encountered this?
progress: If "Tap Is Trigger" is unchecked in the Cardboard script attached to Cardboard$$anonymous$$ain, I'll see "touch count: 1" for 2 frames when i touch the screen. I suspect Cardboard is capturing the touch events.
Answer by dolims · Sep 19, 2015 at 04:14 AM
TapIsTrigger should be set to false so you get the actual touch events rather than a "trigger" event.
For multi-touch, it looks like it's a bug in the compiled part of the SDK. It'll have to be fixed in an upcoming release.
Your answer
Follow this Question
Related Questions
Three finger tap? 1 Answer
I can't change the sprite using the Touch class 0 Answers
Touch Input madness 2 Answers
How can I tell if the device I am on supports touch? 4 Answers
Problem with touch button (when moved) 2 Answers