private void Pick() { Item item = new Item(UIreference.GetItemType(), 1); this.inventoryUI.AddItem(item); Destroy(UIreference.gameObject); }