예제 #1
0
        public Item(string id)
        {
            Item item = ItemAsset.GetItem(id);

            this.id   = id;
            this.name = item.name;
            this.icon = item.icon;
        }
예제 #2
0
        public void AddItem(string id)
        {
            var item = ItemAsset.GetItem(id);

            AddItem(item);
        }
예제 #3
0
 private void Start()
 {
     item = ItemAsset.GetItem(itemId);
 }