public void LoadEquipment(string itemToEquip, string slotToEquip) { var map = EquipmentDropdownMap[slotToEquip]; if (EquipmentMap.ContainsKey(itemToEquip)) { map.value = map.options.IndexOf(map.options.Find(option => option.text == itemToEquip)); } }
public Equipment(Equipment other) { Items = new EquipmentMap(other.Items); }
//------------------------------------------------------------------------------ // Public Functions: //------------------------------------------------------------------------------ public Equipment() { Items = new EquipmentMap(); }