void Start() { console.text += "\nLocation enabled: " + NativeToolkit.StartLocation(); console.text += "\nDevice country: " + NativeToolkit.GetCountryCode(); console.text += "\nLanguage: " + NativeToolkit.GetLanguage(); console.text += "\nLaunched from notification: " + NativeToolkit.WasLaunchedFromNotification(); console.text += "\nGet I18N Text: " + NativeToolkit.GetText("native_toolkit_button_ok"); }
//--------------------------------------------------------------------- void Start() { string s = ""; s += "Location enabled:" + NativeToolkit.StartLocation(); s += " Device country:" + NativeToolkit.GetCountryCode(); s += " Launched from Notification:" + NativeToolkit.WasLaunchedFromNotification(); Debug.Log(s); }
void Start() { console.text += "\nLocation enabled: " + NativeToolkit.StartLocation(); console.text += "\nDevice country: " + NativeToolkit.GetCountryCode(); console.text += "\nLaunched from notification: " + NativeToolkit.WasLaunchedFromNotification(); }