示例#1
0
        public void setSwipeForthAndBackListener(SwipeForthAndBack swipeForthAndBack)
        {
            SwipeForthAndBackListener swipeForthAndBackListener = new SwipeForthAndBackListener();

            swipeForthAndBackListener.addCallback(swipeForthAndBack);
            javaTouchListenerManager.Call("setSwipeForthAndBackListener", swipeForthAndBackListener);
        }
 public void addCallback(SwipeForthAndBack swipeForthAndBack)
 {
     mSwipeForthAndBack = swipeForthAndBack;
 }
 public static void removeSwipeForthAndBackListener(SwipeForthAndBack swipeForthAndBack)
 {
     Debug.Log("<><>right removeSwipeForthAndBackListener<><>");
     SwipeForthAndBackEvent -= swipeForthAndBack;
 }
 public static void addSwipeForthAndBackListener(SwipeForthAndBack swipeForthAndBack)
 {
     Debug.Log("<><>right addSwipeForthAndBackListener<><>");
     SwipeForthAndBackEvent += swipeForthAndBack;
 }