In App Purchase - Level Unlock

Hi,

I wanted to know how to build an In App Purchase system to unlock some level of my game.

Are there package for that ?
Do you store your level as assetbundle and download them as the level get unlocked ?
How do you handle the cache systeme to not have to download them each time ?
Do you build your level in your app and just unlock them ?

Thanks a lot !

Hi

I dont know the best way of doing this but it is something I have thought about doing in the future.

I would assume you would is a bool variable. On your level select if its set as false they cannot play the level, once payment is made it is set to true and this unlocks it.

Someone with a bit more experience might be able to explain it better or offer a better solution :slight_smile:

Hi Lioncirth,

Thanks for your answer !
Yes that’s a good technic but I think that it depends of the app size. For me it’s a better way to use assetbundles.
But how can I store the assetbundle ? I think I need to use the cache system no ? To do this I need a backend ?

Unity - Manual: AssetBundles that page has answers to most assetbundle related questions.

I noticed you posted in Android too on this.

Unibill is a good multi platform inapp billing system.

Yes maybe with a different platform the technique is not the same. I will look at Unibill. Thanks.