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

◆ GetDeviceLanguageCode()

static string GetDeviceLanguageCode ( )
static

Gets the language code set for the current device.

Since
Added 1.14.0.
Returns
The language code that is currently set.

Example Usage :

public void GetDeviceLanguageCodeSample()
{
string languageCode = Gamebase.GetDeviceLanguageCode();
Debug.Log(string.Format("languageCode:{0}", languageCode));
}
static string GetDeviceLanguageCode()
Gets the language code set for the current device.
Definition Gamebase.cs:1819
The Gamebase class is core of Gamebase service.
Definition Gamebase.cs:11