public void setExtraGestureListener(SwipeForward swipeForward, SwipeBackward swipeBackward) { ExtraGestureListener extraGestureListener = new ExtraGestureListener(); extraGestureListener.addCallback(swipeForward, swipeBackward); javaTouchListenerManager.Call("setExtraGestureListener", extraGestureListener); }
public static void removeSwipeBackwardListener(SwipeBackward swipeBackward) { Debug.Log("<><>right removeSwipeBackwardListener<><>"); SwipeBackwardEvent -= swipeBackward; }
public static void addSwipeBackwardListener(SwipeBackward swipeBackward) { Debug.Log("<><>right addSwipeBackwardListener<><>"); SwipeBackwardEvent += swipeBackward; }
public void addCallback(SwipeForward swipeForward, SwipeBackward swipeBackward) { mSwipeForward = swipeForward; mSwipeBackward = swipeBackward; }