Пример #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)
 {
 }