文档

Create a catalog in the Editor

Create and configure Unity IAP catalog listings using the IAP Catalog window.
阅读时间1 分钟最后更新于 3 天前

IAP Catalog

The IAP Catalog is a Unity Editor window that provides a codeless, visual interface to define and manage your catalog. The catalog is the required method for implementing Codeless IAP and provides a central location in the Unity Editor to configure listing attributes, pricing, and store-specific information.
重要
The IAP Catalog defines listings, but does not manage inventory. You must implement the logic to deliver purchased content to the user after a successful transaction.
注意
For a Direct-to-Consumer (D2C) payment provider, you need to create a remote catalog.

Prerequisites

Before you begin, complete the steps in the Get started guide.

Add listings to your catalog

To add listings to your catalog, use the IAP Catalog:
  1. In the Unity Editor, select Services > In-App Purchasing > IAP Catalog.
  2. Select Add Product to create a new listing.
  3. Enter a unique Product ID, select the appropriate Product type (Consumable, Non-Consumable, or Subscription), and provide a display name.
  4. Set attributes such as price, payout, and store-specific IDs. For information on each setting, refer to the IAP Catalog window reference.
Repeat these steps for each listing you want to offer.

Additional resources