Ejemplo n.º 1
0
 public void OnPointerDown(PointerEventData eventData)
 {
     if (inventoryUI.takingFrom == SlotChestType.none)
     {
         leftFrame = false;
         var checkIfSlotIsItem = inventoryUI.GetInventory.GetItemFromInventoryButton(inventoryUI.GetInventoryID(slotType), slotPosition);
         if (checkIfSlotIsItem != null)
         {
             inventoryUI.TakingFrom(slotType, slotPosition);
             HighLightSlot();
         }
     }
 }