suriyun-production / battle-io-docs

This is document for Battle IO project (https://www.assetstore.unity3d.com/#!/content/101113?aid=1100lGeN)
https://suriyun-production.github.io/battle-io-docs/
1 stars 0 forks source link

Item Data #38

Closed Vauxvogh closed 3 years ago

Vauxvogh commented 3 years ago

Hey is it possible to add items as prices as well on in game product data to be able to sell items for items. So basically if I have a bow but want to buy Bow version 2. it requires two regular bows. So along with the currency it will cost , it would also cost 2 regular bows.

What you think? I'm trying to alter this in ingameproductdata.cs, I see where the public dictionary string, int for prices but not sure how to make dictionary for items as they don't require a string Id.