Gamebase SDK for Unity  2.2.0
Toast Gamebase Platform

◆ GetStoreCode()

static string GetStoreCode ( )
static

Gets the store code of the current app.

This should only be called after the SDK has been initialized by calling Gamebase.initialize().

Since
Added 1.4.0.
Returns
The store code.

Example Usage :

public void GetStoreCode()
{
string storeCode = Gamebase.Purchase.GetStoreCode();
if (string.IsNullOrEmpty(storeCode))
{
Debug.Log("fail");
}
else
{
Debug.Log(string.Format("success storeCode : {0}", storeCode));
}
}