Без опису
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
APPLE c9d5bdcd60 va 1 рік тому
..
.sample.json va 1 рік тому
BuyingConsumables.cs va 1 рік тому
BuyingConsumables.cs.meta va 1 рік тому
BuyingConsumables.unity va 1 рік тому
BuyingConsumables.unity.meta va 1 рік тому
README.md va 1 рік тому
README.md.meta va 1 рік тому

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.