public bool UnequipItem(Item item) { int equipSlotIndex = (int)item.EquipType; if (equipSlotIndex <= equipmentSlots.Length) { equipmentSlots[equipSlotIndex] = null; InventoryManager.instance.RemoveItem(item); playerEquipment.UnequipEquipment(); playerEquipment.EnableBareHands(); UIEventHandlers.EquipUpdate(); //Stat Changes Here return(true); } return(false); }