Beispiel #1
0
    public void SendSMS(string port, string content)
    {
#if UNITY_ANDROID && !UNITY_EDITOR
        AndroidUtils.SendSMS(port, content);
#elif UNITY_IOS && !UNITY_EDITOR
        Application.OpenURL("sms:" + port + "?body=" + content);
#else
        PopupAndLoadingScript.instance.messageSytem.OnShow("Soạn tin nhắn theo cú pháp: "
                                                           + content + " gửi tới " + port);
#endif
    }