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

Unlocking after purchasing an item #54

Closed satoshi512 closed 3 years ago

satoshi512 commented 3 years ago

I can buy items in the playfab demo, but they are not unlocked and my items are still "2/2". As for the settings, I intend to make purchaseable settings such as "install playfab demo", "add SDK", "API settings on the playfab side, catalog item price settings, cloudscript settings", but unlocking is unlocked, It will not be.
Is this my lack of settings? Or is it one of the bugs?
If you don't use playfab, it seems to be unlocked after you purchase the item.

insthync commented 3 years ago

Did you export game data and import it in Playfab's Dashboard?

satoshi512 commented 3 years ago

thank you for your answer. excuse me. Is it a catalog or currency export? I've tried it with "PlayfabClientDemo", but I don't know what other game data is if it's as "Readme" or "guide".

insthync commented 3 years ago

Yes, it is catalog / currecy export

satoshi512 commented 3 years ago

They have already been imported into playfab as described in the manual.

insthync commented 3 years ago

Try update this: https://github.com/insthync/dot-io-playfab-client/blob/master/Scripts/PlayfabOverridePurchaseFunctions.cs

insthync commented 3 years ago

PlayfabClientDemo.zip

satoshi512 commented 3 years ago

Thank you very much. I updated to "PlayfabClientDemo" and unlocked it. However, "Can Buy Only Once" doesn't seem to work, and I can buy "Character Pack 01" many times.

satoshi512 commented 3 years ago

It seems that it will be possible to purchase again by destroying the bundle. However, there seems to be no problem because the "single item" can only be purchased once. Thank you for your response.