Buggy Script Android

When i call this function it works fine:

if (Input.touchCount >= 2) {
    nextField = 40.0;
    nextPos = -0.145;
    nextPos2 = -0.096;

But when i change the 2 to a 3 it does not execute any tips?

A little more detail to the problem and to what you are trying to do would make things easier. Input.touchCount >= 3 means nothing will happen unless 3 fingers are touching the screen, is that what you are doing?

1 Answer

1

As explained in the doc, “Android devices don’t have a unified limit on how many fingers they track. Instead, it varies from device to device and can be anything from two-touch on older devices to five fingers on some newer devices.”

So, maybe your device can only handle 2 touch-points?