public void AddItem(Item.EType InType) { Item NewItem = new Item(InType); AddItem(NewItem); Debug.Log(NewItem.Name); }
public void RemoveItem(Item.EType InType) { int Index = Items.FindIndex(Element => Element.Type == InType); if (Index != -1) { Items.RemoveAt(Index); } }