Beispiel #1
0
 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");
 }
Beispiel #2
0
 public void OnShowAlertPress()
 {
     NativeToolkit.ShowAlert("Native Toolkit", "This is an alert dialog!", DialogFinished, NativeToolkit.GetText("native_toolkit_button_ok"));
 }