GetLocalizedTitle

Description

Get the title from the store.

Declaration

public static string GetLocalizedTitle(ShopProductNames product)

Parameters

NameDescription

product

An enum member is generated from the Settings Window.

Requires using Gley.EasyIAP;

Return

string - The product title from the store

Example

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

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

Last updated