void RecievedPurchaseResponse(ItemBundlePurchaseResponse obj) { Debug.Log("Purchase popup event called"); PurchaseWindow.SetActive(true); if (obj.StatusCode == 1) purchaseMessage.text = "Purchase Successful"; else purchaseMessage.text = "Error Code: " + obj.StatusCode; }
void ItemBundlePurchaseSuccess(ItemBundlePurchaseResponse response) { UpdateLabels(); }
void UnityUIBundlePurchaseSuccessful(ItemBundlePurchaseResponse response) { purchasePopup.SetActive(true); purchasePopup.GetComponentInChildren<Text>().text = "Purchase Successful"; }