Exemple #1
0
 public void OnPointerEnter(PointerEventData eventData)
 {
     if (inventoryUI.takingFrom != SlotChestType.none && (inventoryUI.takingFromIndex != slotPosition || inventoryUI.takingFrom != slotType))
     {
         inventoryUI.DroppingAt(slotType, slotPosition);
         HighLightSlot();
     }
 }