public static void Authorize(int type, LuaFunction func = null) { ConfigSSDK(); PlatformType finaltype = ThirdPlatformTool.fromInt(type); _SSDK.Authorize(finaltype); _AuthorLuaFunc = func; }
public static void Share(int type, ShareContent content, LuaFunction func = null) { Debug.Log("Start Share "); ConfigSSDK(); PlatformType finaltype = ThirdPlatformTool.fromInt(type); _SSDK.ShareContent(finaltype, content); //_SSDK.ShareContent (PlatformType.WeChat, content); _ShareLuaFunc = func; }