Gamebase SDK for Unity 2.74.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));
}
Toast.Gamebase.Gamebase.GetCountryCodeOfDevice
static string GetCountryCodeOfDevice()
Gets the country code currently set on the device.
Definition: Gamebase.cs:1950
Toast.Gamebase.Gamebase
The Gamebase class is core of Gamebase service.
Definition: Gamebase.cs:11