fix:1、删除部分不用的资源代码。2、a面修复bug

This commit is contained in:
barry
2026-04-28 18:42:00 +08:00
parent 70d45d4705
commit cc12dffbaa
417 changed files with 36736 additions and 40575 deletions
+18 -18
View File
@@ -6,7 +6,7 @@ namespace RedHotRoast
using System.Collections.Generic;
using System.Linq;
using IgnoreOPS;
using SGModule.ApplePay;
// using SGModule.ApplePay;
using SGModule.Common;
using UnityEngine;
@@ -77,23 +77,23 @@ namespace RedHotRoast
};
List<ApplePay2> listA = ConfigSystem.GetConfig<ApplePay2>();
// 方式一:LINQ Select
List<ProductConfig> listB = listA
.Select(a => new ProductConfig
{
name = a.name,
sku = a.sku,
price = a.price,
type = a.type
})
.ToList();
if (GameHelper.IsGiftSwitch())
{
GameObject.Find("game_bg_a").SetActive(false);
}
//初始化商品
ApplePayManager.Instance.InitProduct(listB,
ConfigManager.GameConfig.packageName, PurchasingManager.ApplePaySuccessCallback(appleData));
// // 方式一:LINQ Select
// List<ProductConfig> listB = listA
// .Select(a => new ProductConfig
// {
// name = a.name,
// sku = a.sku,
// price = a.price,
// type = a.type
// })
// .ToList();
// if (GameHelper.IsGiftSwitch())
// {
// GameObject.Find("game_bg_a").SetActive(false);
// }
// //初始化商品
// ApplePayManager.Instance.InitProduct(listB,
// ConfigManager.GameConfig.packageName, PurchasingManager.ApplePaySuccessCallback(appleData));
if (GameHelper.IsGiftSwitch() && enterGame)
{