コード例 #1
0
        public void setExtraGestureListener(SwipeForward swipeForward, SwipeBackward swipeBackward)
        {
            ExtraGestureListener extraGestureListener = new ExtraGestureListener();

            extraGestureListener.addCallback(swipeForward, swipeBackward);
            javaTouchListenerManager.Call("setExtraGestureListener", extraGestureListener);
        }
コード例 #2
0
 public static void removeSwipeBackwardListener(SwipeBackward swipeBackward)
 {
     Debug.Log("<><>right removeSwipeBackwardListener<><>");
     SwipeBackwardEvent -= swipeBackward;
 }
コード例 #3
0
 public static void addSwipeBackwardListener(SwipeBackward swipeBackward)
 {
     Debug.Log("<><>right addSwipeBackwardListener<><>");
     SwipeBackwardEvent += swipeBackward;
 }
コード例 #4
0
 public void addCallback(SwipeForward swipeForward, SwipeBackward swipeBackward)
 {
     mSwipeForward  = swipeForward;
     mSwipeBackward = swipeBackward;
 }