docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct Product

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    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>
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)