update:更新sdk 脚本
This commit is contained in:
@@ -7,7 +7,13 @@ namespace tysdk
|
||||
|
||||
public static class UnityBridgeFunc
|
||||
{
|
||||
|
||||
#if UNITY_EDITOR || UNITY_ANDROID
|
||||
private static string EAccountTypeToStr(EAccoutType accountType)
|
||||
{
|
||||
return accountType == EAccoutType.hwVkid ? AccountString.hwVkid : accountType.ToString();
|
||||
}
|
||||
|
||||
#endif
|
||||
#if UNITY_EDITOR
|
||||
//初始化sdk
|
||||
public static void InitSDK(){}
|
||||
@@ -62,11 +68,6 @@ namespace tysdk
|
||||
public static void FBShareLink(string title, string content, string url) { }
|
||||
public static void MessengerShareLink(string title, string content, string url) { }
|
||||
|
||||
private static string EAccountTypeToStr(EAccoutType accoutType)
|
||||
{
|
||||
return accoutType == EAccoutType.hwVkid ? TYSdkFacade.AccountInfo.hwVkid : accoutType.ToString();
|
||||
}
|
||||
|
||||
#elif UNITY_ANDROID
|
||||
|
||||
private static string SDK_CLASS = "com.unity3d.player.SDKManager";
|
||||
|
||||
Reference in New Issue
Block a user