Пример #1
0
 /// <summary>
 /// The Unity Update() method.
 /// </summary>
 public void Update()
 {
     DragGestureRecognizer.Update();
     PinchGestureRecognizer.Update();
     TwoFingerDragGestureRecognizer.Update();
     TapGestureRecognizer.Update();
     TwistGestureRecognizer.Update();
 }
Пример #2
0
 /// <summary>
 /// The Unity Update() method.
 /// </summary>
 public void Update()
 {
     if (j == 0)
     {
         DragGestureRecognizer.Update();
         //PinchGestureRecognizer.Update();
         //TwoFingerDragGestureRecognizer.Update();
         TapGestureRecognizer.Update();
         TwistGestureRecognizer.Update();
     }
 }
Пример #3
0
 /// <summary>
 /// The Unity Update() method.
 /// </summary>
 public void Update()
 {
     if (canManipulate)
     {
         TapGestureRecognizer.Update();
         DragGestureRecognizer.Update();
         PinchGestureRecognizer.Update();
         TwoFingerDragGestureRecognizer.Update();
         TwistGestureRecognizer.Update();
     }
 }
Пример #4
0
        /// <summary>
        /// The Unity Update() method.
        /// </summary>
        public void Update()
        {
            //If tap was on UI, ignore tap
            if (IsPointerOverUIObject())
            {
                return;
            }

            DragGestureRecognizer.Update();
            PinchGestureRecognizer.Update();
            TwoFingerDragGestureRecognizer.Update();
            TapGestureRecognizer.Update();
            TwistGestureRecognizer.Update();
        }