public Item(string id) { Item item = ItemAsset.GetItem(id); this.id = id; this.name = item.name; this.icon = item.icon; }
public void AddItem(string id) { var item = ItemAsset.GetItem(id); AddItem(item); }
private void Start() { item = ItemAsset.GetItem(itemId); }