SquareDash/Library/PackageCache/com.unity.purchasing@4.10.0/Samples~/02 BuyingSubscription
kingjuulian06 0efb85038a Arbeit 2
2023-11-21 22:03:49 +01:00
..
.sample.json Arbeit 2 2023-11-21 22:03:49 +01:00
BuyingSubscription.cs Arbeit 2 2023-11-21 22:03:49 +01:00
BuyingSubscription.cs.meta Arbeit 2 2023-11-21 22:03:49 +01:00
BuyingSubscription.unity Arbeit 2 2023-11-21 22:03:49 +01:00
BuyingSubscription.unity.meta Arbeit 2 2023-11-21 22:03:49 +01:00
README.md Arbeit 2 2023-11-21 22:03:49 +01:00
README.md.meta Arbeit 2 2023-11-21 22:03:49 +01:00

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