iOS & Mac App Stores
Google Play

Universal Windows Platform

Simulator

Unity IAP features support for Microsoft’s In App PurchaseRevenue from “micro-transactions” within a game. More info
See in Glossary
simulator, which allows you to test IAP purchase flows on devices before publishing your application.

The simulator can be enabled when configuring Unity IAPAbbreviation of Unity In App Purchase
See in Glossary
before initialization, as follows:

var builder = ConfigurationBuilder.Instance(StandardPurchasingModule.Instance());
builder.Configure<IMicrosoftConfiguration>().useMockBillingSystem = true;

Make sure you disable the mock billing system before publishing your application.


• 2017–05–16 Page amended with no editorial review

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答