docs.unity.cn
    Show / Hide Table of Contents

    Class LocalizedProductDescription

    A description of an IAP product. Includes both a title and a longer description, plus an optional locale for specifying the language of this description. Characters wider than one byte are escaped as \uXXXX for serialization to work around a bug in Unity's JSONUtility deserialization prior to Unity 5.6.

    Inheritance
    Object
    LocalizedProductDescription
    Namespace: UnityEngine.Purchasing
    Syntax
    [Serializable]
    public class LocalizedProductDescription

    Fields

    googleLocale

    The TranslationLocale for GooglePlay.

    Declaration
    public TranslationLocale googleLocale
    Field Value
    Type Description
    TranslationLocale

    Properties

    Description

    The product description displayed as a string.

    Declaration
    public string Description { get; set; }
    Property Value
    Type Description
    String

    Title

    The title of the product description.

    Declaration
    public string Title { get; set; }
    Property Value
    Type Description
    String

    Methods

    Clone()

    Copy this product description.

    Declaration
    public LocalizedProductDescription Clone()
    Returns
    Type Description
    LocalizedProductDescription

    A new instance identical to this object

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 20 April 2021