public void RemoveDetectors() { IList <Gesture> addedList = _Source.Gestures; for (int g = 0; g < addedList.Count; g++) { Gesture gesture = addedList [g]; _Source.RemoveGesture(gesture); } if (OnGesture != null) { Delegate[] events = OnGesture.GetInvocationList(); foreach (Delegate e in events) { Debug.Log(e.Method.Name); OnGesture -= (e as GestureEvent); } } }