Ejemplo n.º 1
0
 public void OnPointerDown(PointerEventData eventData)
 {
     if (!focused && curSlot != null)
     {
         GetInvActive();
         UnSlotStock(curSlot);
     }
     else
     {
         ActiveSlotControl();
         DropItem di = GetComponent <DropItem>();
         di.CheckInvParent();
     }
 }