docs.unity3d.com
Search Results for

    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
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Purchasing
    Assembly: Unity.Purchasing.dll
    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

    In This Article
    Back to top
    Copyright © 2025 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)