コード例 #1
0
 public void RemoveGesture(IGestureActionCallbackBase callback)
 {
     if (this.gestures != null && this.gestures.Count > 0)
     {
         this.gestures.Remove(callback);
     }
 }
コード例 #2
0
 public void AddGesture(IGestureActionCallbackBase callback)
 {
     if (this.gestures != null)
     {
         if (!this.gestures.Contains(callback))
         {
             this.gestures.Add(callback);
         }
     }
 }
コード例 #3
0
 public void RemoveGesture(IGestureActionCallbackBase callback)
 {
     if (callback != null)
     {
         if (this.m_oImp != null)
         {
             this.m_oImp.RemoveGesture(callback);
         }
     }
 }
コード例 #4
0
 private ICollection <GestureTouch> FilterTouchBegin(ICollection <GestureTouch> touches, IGestureActionCallbackBase gestureCallback)
 {
     //这里没有过滤,应该判断是否该gameobject是能够touch?
     return(touches);
 }
コード例 #5
0
 public void RemoveGesture(IGestureActionCallbackBase callback)
 {
     this.gestures.Remove(callback);
 }
コード例 #6
0
 public void AddGesture(IGestureActionCallbackBase callback)
 {
     this.gestures.Add(callback);
 }