void OnEndDragForParent(PointerEventData eventData, IEndDragHandler parent) { if (null != parent) { parent.OnEndDrag(eventData); } }
public void OnEndDrag(PointerEventData data) { if (endDragHandler != null) { endDragHandler.OnEndDrag(data); } }
public void OnEndDrag(PointerEventData eventData) { if (parentInitializePotentialDragHandler == null) { return; } parentEndDragHandler.OnEndDrag(eventData); _CurrentDragCapturedByParent = false; }
private void EndDrag() { if (dragEndHandler != null) { var pointerData = new PointerEventData(EvSystem); pointerData.position = transform.position; dragEndHandler.OnEndDrag(pointerData); } dragEndHandler = null; dragHandler = null; }
private void Execute(IEndDragHandler handler, BaseEventData eventData) { var go = (handler as Component).gameObject; Debug.LogWarning("IEndDragHandler : " + go.name); OnEvent(handler, eventData); if (SkipSendTouch) { return; } handler.OnEndDrag(ExecuteEvents.ValidateEventData <PointerEventData>(eventData)); }
public virtual void OnEndDrag(PointerEventData data) { this.m_DragMove = false; if (this.HasEvent((EventTriggerType)14)) { this.Send((EventTriggerType)14, data.get_position()); } if (!UnityEngine.Object.op_Inequality((UnityEngine.Object) this.syncEvent, (UnityEngine.Object)null)) { return; } IEndDragHandler component = (IEndDragHandler)this.syncEvent.GetComponent <IEndDragHandler>(); if (component == null) { return; } component.OnEndDrag(data); }
public static int OnEndDrag(IntPtr l) { int result; try { IEndDragHandler endDragHandler = (IEndDragHandler)LuaObject.checkSelf(l); PointerEventData eventData; LuaObject.checkType <PointerEventData>(l, 2, out eventData); endDragHandler.OnEndDrag(eventData); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
private static void Execute(IEndDragHandler handler, BaseEventData eventData) { handler.OnEndDrag(ValidateEventData <PointerEventData>(eventData)); }
public void OnEndDrag(PointerEventData eventData) { scrollviewParentIEndDragHandler.OnEndDrag(eventData); }