Beispiel #1
0
 public bool ResetPositionToSlot()
 {
     if (!HasSlotAssigned())
     {
         return(_itemSlotManager.AssignFirstSlotAvailable(this, true));
     }
     transform.position = Slot.SlotPosition;
     return(true);
 }
 public bool Interact(ACustomItem item)
 {
     return(_itemSlotManager.AssignFirstSlotAvailable(item, true));
 }