void gameInput_GestureEnd(UnityGameBase.Core.Input.BaseGesture gesture)
 {
     foreach (TouchInformation touchInfo in gesture.RelatedTouches)
     {
         //    touchInfo.
     }
 }
Пример #2
0
 /// <summary>
 /// Used to emit gesture events. If you want to use gestures register you gesture implementation with
 /// </summary>
 /// <param name="gesture">Gesture.</param>
 public void EmitGesture(BaseGesture gesture)
 {
     if (gesture.IsDead)
     {
         if (GestureEnd != null)
         {
             GestureEnd(gesture);
         }
     }
     else
     {
         if (GestureStart != null)
         {
             GestureStart(gesture);
         }
     }
 }
 void gameInput_GestureStart(UnityGameBase.Core.Input.BaseGesture gesture)
 {
 }