Example #1
0
        private void loadItem(ItemDataJson itemData)
        {
            ItemData item = itemData.item;

            ResourceManager.AddItem(
                item.id,
                item.name,
                item.value,
                Sprite.Single(ResourceManager.GetTexture(item.textureName),
                              Vector2.One));
        }