The problem is that the touch is sometimes incorrectly read. Suppose there are 2 fingers on the touchscreen, and it shows 1. This situation occurs when you touch two fingers and the distance between them is minimal. When the distance between two fingers at least 1 cm - works like norms. Is it my problem or the code? PS I use unity remote
int fingerCount = 0; foreach (Touch touch in Input.touches) { fingerCount++; } if (fingerCount == 1) { Debug.Log("1"); _railMover.RotatingCam(); } if (fingerCount == 2) { touch = Input.GetTouch(0); touchX += touch.deltaPosition.x * xSpeed * 0.02f; touchY -= touch.deltaPosition.y * ySpeed * 0.02f; Debug.Log("2"); }