public void UnequipSlot(string inSlotId) { EquipmentSlot targetSlot = GetEquipmentSlot(inSlotId); if (targetSlot == null) { throw new Exception("Cannot equip: " + name + " does not have slot '" + inSlotId + "'"); } else { targetSlot.RemoveEquipment(); } }