Playvoi/Assets/ShiroginSDK/Samples/IAPSample/README.md

7 lines
No EOL
371 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

IAPProduct → mağazadaki ürünleri tanımlar (ID, tip, consumable vs.).
StoreItem → her ürün için ödülü tanımlar (gold, ticket, noAds, character).
StoreRepository → ürün ID → ödül eşleşmesini yapar.
IAPService → satın alma gerçekleştiğinde storeRepository.GetByProductId(productId) ile ilgili ödülü bulur ve GiveReward() çalıştırır.