Version: 2017.1

ProductDefinition

class in UnityEngine.Purchasing

Switch to Manual

Description

Minimal product definition, used by apps declaring products for sale.

Variables

enabledThis flag indicates whether a product should be offered for sale. It is controlled through the cloud catalog dashboard.
idUnity IAP product ID. Potentially independent of store IDs.
storeSpecificIdThe ID this product has on a store.
typeThe product type.

Constructors

ProductDefinitionCreate a ProductDefinition with different Store-independent ID and Store-specific ID. Use this when you need to two IDs to be different.

Public Functions

EqualsCompares id properties. Requires obj be a ProductDefinition.
GetHashCodeGets the application-domain-specific hash code of id.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961