Esempio n. 1
0
    public void OnBeginDrag(PointerEventData eventData)
    {
        IBeginDragObj = gameObject;

        startPostion = transform.position;
        startParent  = transform.parent;
        Slotgroup    = GameObject.Find("ItemBOX (2)").GetComponent <CanvasGroup>();
        m_temDrop    = GameObject.Find("ItemBOX (2)").GetComponentInChildren <ItemDrop>();
        m_temDrop.GetDropItem(IBeginDragObj);
        Slotgroup.blocksRaycasts = false;
    }