OnEndDrag() 공개 메소드

public OnEndDrag ( PointerEventData eventData ) : void
eventData UnityEngine.EventSystems.PointerEventData
리턴 void
예제 #1
0
    public void OnEndDrag(PointerEventData eventData)
    {
        Debug.Log("DECK: OnEndDrag");

        dragHandlerScript.OnEndDrag(eventData);

        instantiatedChild = null;
        dragHandlerScript = null;
        //count--;
        //eventData.pointerDrag.transform.SetParent(parentToReturnTo);
        ////instance.transform.SetParent(parentToReturnTo);
        //////instance.GetComponent<CanvasGroup>().blocksRaycasts = true;
        //objects.transform.SetParent(parentToReturnTo);
        //objects.GetComponent<CanvasGroup>().blocksRaycasts = true;
        //transform.localPosition = Vector3.zero;
    }