Version: 2019.4
iOS & Mac App Stores
Google Play

Universal Windows Platform

Simulator

Unity IAP features support for Microsoft’s In App Purchase simulator, which allows you to test IAP purchase flows on devices before publishing your application.

The simulator can be enabled when configuring Unity IAP 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

iOS & Mac App Stores
Google Play
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961