Version: 2021.3
iOS App Store 和 Mac App Store
Google Play

通用 Windows 平台

模拟器

Unity IAP 功能支持 Microsoft 的应用内购 (IAP) 模拟器,此模拟器允许您在发布应用程序之前在设备上测试 IAP 购买流程。

配置 Unity IAP 时,可在初始化之前启用模拟器,如下所示:

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

确保在发布应用程序之前禁用模拟计费系统。


• 2017–05–16 页面已修订

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