GetLocalizedDescription

Description

Get the description from the store.

Declaration

public static string GetLocalizedDescription(ShopProductNames product)

Parameters

NameDescription

product

An enum member generated from Settings Window.

Requires using Gley.EasyIAP;

Return

string - The product description from the store

Example

Test.cs
using Gley.EasyIAP;
using UnityEngine.UI;

public class Test : MonoBehaviour
{
    [SerializeField] Text description;
    public void GetValue()
    {
        description.text += Gley.EasyIAP.API.GetLocalizedDescription(ShopProductNames.YourPorduct);
    }
}

Last updated