IPlatformSDK ISDKCreator.Create() { IPlatformSDK sdk = new SDKAndroid(); sdk.Init(); return(sdk); }
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 }
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 }