コード例 #1
0
        public virtual void OnDrag(PointerEventData eventData)
        {
            if (itemCollection == null || item == null || itemCollection.canDragInCollection == false)
            {
                return;
            }


            InventoryUIDragUtility.OnDrag(eventData);

            //if (eventData.button == PointerEventData.InputButton.Left || (eventData.button == PointerEventData.InputButton.Right && InventorySettingsManager.instance.unstackItemButton == PointerEventData.InputButton.Right))
        }