docs.unity3d.com
    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.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    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
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023