public void OnEndDrag(PointerEventData eventData) { GetComponent <CanvasGroup>().blocksRaycasts = true; _outlineImage.enabled = false; OnEndDragEvent?.Invoke(this); }
public void OnEndDrag(PointerEventData eventData) { if (interactable) { OnEndDragEvent?.Invoke(index); } }
public void OnEndDrag(PointerEventData eventData) { //if (item != null) { icon.color = new Color(1, 1, 1, 1); OnEndDragEvent?.Invoke(this); } }
public void OnEndDrag(PointerEventData eventData) { if (Item != null) { image.color = _normalColor; } OnEndDragEvent?.Invoke(this); }
public void OnEndDrag(PointerEventData eventData) { if (eventData.button == DragInputButton) { //分发OnEndDrag消息 if (OnEndDragEvent != null) { OnEndDragEvent.Invoke(eventData); } } }
public void ClearDragEvent() { { if (OnDragEvent != null) { Delegate[] invokeList = OnDragEvent.GetInvocationList(); if (invokeList != null) { foreach (Delegate del in invokeList) { OnDragEvent -= (OnDragDlg)del; } } } } { if (OnBeginDragEvent != null) { Delegate[] invokeList = OnBeginDragEvent.GetInvocationList(); if (invokeList != null) { foreach (Delegate del in invokeList) { OnBeginDragEvent -= (OnBeginDragDlg)del; } } } } { if (OnEndDragEvent != null) { Delegate[] invokeList = OnEndDragEvent.GetInvocationList(); if (invokeList != null) { foreach (Delegate del in invokeList) { OnEndDragEvent -= (OnEndDragDlg)del; } } } } }
/// <summary> /// On end drag. /// </summary> /// <param name="eventData">Pointer event data.</param> public void OnEndDrag(PointerEventData eventData) { OnEndDragEvent?.Invoke(eventData); }
public void OnEndDrag(PointerEventData eventData) { CancelDrag(eventData); OnEndDragEvent?.Invoke(this); }
public void OnEndDrag(BaseEventData eventData) { OnEndDragEvent?.Invoke(this); }
public void OnEndDrag(PointerEventData eventData) { OnEndDragEvent?.Invoke(this); ObtenerObjetoInventario(); }
public override void OnEndDrag(PointerEventData pointerEventData) { base.OnEndDrag(pointerEventData); OnEndDragEvent?.Invoke(pointerEventData); }
public void OnEndDrag(PointerEventData eventData) => OnEndDragEvent?.Invoke(this);
/// <summary> /// 结束拖拽 /// </summary> /// <param name="_eventData">参数</param> public void OnEndDrag(PointerEventData _eventData) { OnEndDragEvent?.Invoke(this, _eventData); }