- Home /
Blackish GUIKit001 + Prime31 StoreKit for In-App-Purchase
Did anyone combine those two successfully?
It would be helpful for all, if someone does the programming to integrate StoreKit into GUIKit001, and offer the code for sale in the Unity3D asset store.
Answer by RolfBertram-com · May 03, 2011 at 11:11 AM
Got it. Took a while to combine, but it works. The StoreKit requires to be activated by one line of program code. Next, another line of codes checks if purchase is allowed on device. Next another line of codes checks if the item is available on App Store. Next, check for purchase confirmation by keeping a monitoring function active. After all is finished, shut StoreKit off. Reactivating previous purchases is also pretty much just one line of code to request the info from App-Store, and next reactivating the purchased level by setting PlayerPrefs.