IPlatformSDK ISDKCreator.Create()
        {
            IPlatformSDK sdk = new SDKAndroid();

            sdk.Init();
            return(sdk);
        }
Exemple #2
0
    public string Contacts(string msg)
    {
#if UNITY_EDITOR
        return("Test1:15565757878,Test1:15216768456,Test3:13166370786");
#endif

#if UNITY_ANDROID
        return(SDKAndroid.Contacts(msg).Replace("-", ""));
#elif UNITY_IPHONE
        return(SDKIOS.Contacts(msg).Replace("-", ""));
#endif
    }
Exemple #3
0
    public void WeixinWebShare(string msg)
    {
        #if UNITY_EDITOR
        Debug.Log("SDK WeixinWebShare Called!");
        return;
        #endif

        #if UNITY_ANDROID
        SDKAndroid.WeiXinWebShare(msg);
        #elif UNITY_IPHONE
        SDKIOS.WeiXinShareToFriend(msg);
        #endif
    }