/// <summary> /// sdk购买物品 /// </summary> public static void ChargeNoticFinish(net_protocol.ChargeNotice resp) { var node = NodeManager.GetNode <StoreNode>(); if (node) { node.resultPanel.Open(resp); } }
public void Open(net_protocol.ChargeNotice resp) { _type = resp.type; gameObject.SetActive(true); if (resp.result != 1) { againBtn.gameObject.SetActive(false); trueText.text = "重新支付"; content.text = "支付未完成"; } else { trueText.text = "暂不充值"; content.text = "支付成功"; } }