Struct Product
Inherited Members
Namespace: Unity.Services.Analytics
Assembly: Unity.Services.Analytics.dll
Syntax
[Obsolete("Please create a TransactionEvent/TransactionFailedEvent and use RecordEvent(...) instead. The Product container used by ProductsSpent and ProductsReceived has been replaced by SpentItems/SpentRealCurrency/SpentVirtualCurrencies/etc fields.")]
public struct Product
Fields
Items
(Required) The items spent or received as part of this product (can be an empty list if none)
Declaration
public List<Item> Items
Field Value
| Type | Description |
|---|---|
| List<Item> |
RealCurrency
(Optional) The real currency spent or received as part of this product
Declaration
public RealCurrency? RealCurrency
Field Value
| Type | Description |
|---|---|
| RealCurrency? |
VirtualCurrencies
(Required) The virtual currencies spent or received as part of this product (can be an empty list if none)
Declaration
public List<VirtualCurrency> VirtualCurrencies
Field Value
| Type | Description |
|---|---|
| List<VirtualCurrency> |