Gamebase SDK for Unity 2.69.0
Toast Gamebase Platform
Loading...
Searching...
No Matches

◆ GetCountryCodeOfDevice()

static string GetCountryCodeOfDevice ( )
static

Gets the country code currently set on the device.

Since
Added 1.4.0.
Returns
The country code currently set on the device.

Example Usage :

public void GetCountryCodeOfDeviceSample()
{
string countryCodeOfDevice = Gamebase.GetCountryCodeOfDevice();
Debug.Log(string.Format("countryCodeOfDevice:{0}", countryCodeOfDevice));
}
static string GetCountryCodeOfDevice()
Gets the country code currently set on the device.
Definition Gamebase.cs:1921
The Gamebase class is core of Gamebase service.
Definition Gamebase.cs:11