Exemplo n.º 1
0
 public static void CreateWeChatManager()
 {
     if (null == obj)
     {
         obj = new GameObject(CALLBACK_COMPONENT_NAME);
     }
     obj.AddComponent <WeChatCallbackWrapper>();
     UnityEngine.Object.DontDestroyOnLoad(obj);
     m_WeChatCallBack = WeChatCallback.Instance;
 }
Exemplo n.º 2
0
 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));
     }
 }
Exemplo n.º 3
0
 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));
     }
 }