dzduole 4be683fb33 中文和声音头像OK 1 month ago
..
.sample.json 4be683fb33 中文和声音头像OK 1 month ago
BuyingConsumables.cs 4be683fb33 中文和声音头像OK 1 month ago
BuyingConsumables.cs.meta 4be683fb33 中文和声音头像OK 1 month ago
BuyingConsumables.unity 4be683fb33 中文和声音头像OK 1 month ago
BuyingConsumables.unity.meta 4be683fb33 中文和声音头像OK 1 month ago
README.md 4be683fb33 中文和声音头像OK 1 month ago
README.md.meta 4be683fb33 中文和声音头像OK 1 month ago

README.md

README - In-App Purchasing Sample Scenes - Buying Consumables

In this example, you will learn how to initialize the In-App Purchasing package and handle a simple Consumable Product purchase.

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.

Consumables

Consumables are products that users can purchase repeatedly. Consumable Products cannot be restored.

Examples:

  • Virtual currencies
  • Health potions
  • Temporary power-ups.