예제 #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");
 }
예제 #2
0
    //---------------------------------------------------------------------
    void Start()
    {
        string s = "";

        s += "Location enabled:" + NativeToolkit.StartLocation();
        s += "  Device country:" + NativeToolkit.GetCountryCode();
        s += "  Launched from Notification:" + NativeToolkit.WasLaunchedFromNotification();
        Debug.Log(s);
    }
예제 #3
0
 void Start()
 {
     console.text += "\nLocation enabled: " + NativeToolkit.StartLocation();
     console.text += "\nDevice country: " + NativeToolkit.GetCountryCode();
     console.text += "\nLaunched from notification: " + NativeToolkit.WasLaunchedFromNotification();
 }