示例#1
0
    public void onPurchaseSuccess(string result)
    {
        Debug.Log("GamePotEventListener::onPurchaseSuccess()");
        NPurchaseInfo purchaseInfo = JsonMapper.ToObject <NPurchaseInfo>(result);

        if (cbPurchase != null)
        {
            cbPurchase(NCommon.ResultPurchase.SUCCESS, purchaseInfo);
            cbPurchase = null;
        }
        else
        {
            if (GamePotInterface != null)
            {
                GamePotInterface.onPurchaseSuccess(purchaseInfo);
            }
        }
    }
示例#2
0
 public void onPurchaseSuccess(NPurchaseInfo purchaseInfo)
 {
     PopupManager.ShowCustomPopup(popupRoot, "GamePotSamplePopup_BtnOne", "결제", "결제 성공하였습니다.");
 }
示例#3
0
 public void onPurchaseSuccess(NPurchaseInfo purchaseInfo)
 {
 }