lib_unity_purchase/Samples~/02 BuyingSubscription
刘涛 3b87d20391 全部提交 2024-01-29 18:49:33 +08:00
..
.sample.json 全部提交 2024-01-29 18:49:33 +08:00
BuyingSubscription.cs 全部提交 2024-01-29 18:49:33 +08:00
BuyingSubscription.cs.meta 全部提交 2024-01-29 18:49:33 +08:00
BuyingSubscription.unity 全部提交 2024-01-29 18:49:33 +08:00
BuyingSubscription.unity.meta 全部提交 2024-01-29 18:49:33 +08:00
README.md 全部提交 2024-01-29 18:49:33 +08:00
README.md.meta 全部提交 2024-01-29 18:49:33 +08:00

README.md

README - In-App Purchasing Sample Scenes - Buying Subscription

In this sample, you will see how to handle subscription purchases and use the SubscriptionManager class to retrieve information about a subscription. The SubscriptionManager only supports the App Store, Google Play Store, and Amazon Store.

This sample uses a fake store for its transactions, to use a real store like the App Store or the Google Play Store, you would need to register your application and add In-App Purchases. For more information, follow the documentation for one of our supported stores. Keep in mind that in this sample, product identifiers are kept in the BuyingConsumables.cs file.

Subscription

Users can access the Product for a finite period of time. Subscription Products can be restored.

Examples:

  • Monthly access to an online game
  • VIP status granting daily bonuses
  • A free trial