Ejemplo n.º 1
0
 void FingerGestures_OnFingerSwipe( int fingerIndex, Vector2 startPos, FingerGestures.SwipeDirection direction, float velocity )
 {
     GameObject selection = PickObject( startPos );
     if( selection == swipeObject )
     {
         rootObject.GetComponent<Button>().Swiped(direction.ToString());
     }
 }