public static void CreateWeChatManager() { if (null == obj) { obj = new GameObject(CALLBACK_COMPONENT_NAME); } obj.AddComponent <WeChatCallbackWrapper>(); UnityEngine.Object.DontDestroyOnLoad(obj); m_WeChatCallBack = WeChatCallback.Instance; }
static public int get_onGetUserInfoWeChat(IntPtr l) { try { WeChatCallback self = (WeChatCallback)checkSelf(l); pushValue(l, true); pushValue(l, self.onGetUserInfoWeChat); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int constructor(IntPtr l) { try { WeChatCallback o; o = new WeChatCallback(); pushValue(l, true); pushValue(l, o); return(2); } catch (Exception e) { return(error(l, e)); } }