fix:1、添加支付,使用sdk的支付方案
This commit is contained in:
@@ -65,7 +65,7 @@ namespace RedHotRoast
|
||||
ui.com_gold.y += Screen.safeArea.y;
|
||||
|
||||
}
|
||||
ui.gift_switch.selectedIndex = 1;
|
||||
ui.gift_switch.selectedIndex = GameHelper.IsGiftSwitch() ? 1 : 0;
|
||||
|
||||
total_item = 8;
|
||||
selectIndex = DataMgr.PlayerAvatarId.Value;
|
||||
@@ -143,6 +143,8 @@ namespace RedHotRoast
|
||||
// ui.btn_credits.SetClick(() => { UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.PrivacyUI_Open, 2); });
|
||||
ui.btn_restore.SetClick(() =>
|
||||
{
|
||||
//恢复购买按钮
|
||||
IAPPayManager.Instance.OnRestoreButtonClicked();
|
||||
// ApplePayManager.Instance.AppleRestore((success, message) =>
|
||||
// {
|
||||
// if (success)
|
||||
|
||||
Reference in New Issue
Block a user