private void Start() { //add gesture gesture = new PressGestureRecognizer(); FingersScript.Instance.AddGesture(gesture); gesture.AllowSimultaneousExecutionWithAllGestures(); gesture.MinimumNumberOfTouchesToTrack = minimumTouches; gesture.ThresholdUnits = maximumMovementDistance; gesture.StateUpdated += PressGesture_StateUpdated; foreach (var gestureHandler in requiredToFail) { RequireGestureHandlerToFail(gestureHandler); } }