Пример #1
0
 //nbsdk 绑定手机
 virtual public void NBBindPhone(UnityAction <bool> callback)
 {
     QKNativeBridgeManager.Instance.CallNative("NBBindPhone", null, (string strData) =>
     {
         callback(QKUtility.ToBoolean(strData));
     });
 }
Пример #2
0
 virtual public void Pay(PayInfo payInfo, UnityAction <bool> callback)
 {
     QKNativeBridgeManager.Instance.CallNative("Pay", JsonMapper.ToJson(payInfo), (string strData) =>
     {
         callback(QKUtility.ToBoolean(strData));
     });
 }