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