Пример #1
0
 public void CancelTouchOperation()
 {
     if (touchState == 2)
     {
         return;
     }
     if (touchState == 0)
     {
         if (timeOfFirstPress != 0.0f)
         {
             touchState = 2;
         }
         // Don't send cancel because we didn't get to send start
         return;
     }
     sceneControl.CancelTouch(touchArgs);
     touchState = 2;
 }