From 39001a600fcae2bcf27c225df8752d75fb92fef4 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期五, 31 十月 2025 11:18:26 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts
---
Main/System/KnapSack/Logic/PackGirdCell.cs | 14 +++++++++++---
1 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/Main/System/KnapSack/Logic/PackGirdCell.cs b/Main/System/KnapSack/Logic/PackGirdCell.cs
index aac05c3..d56381c 100644
--- a/Main/System/KnapSack/Logic/PackGirdCell.cs
+++ b/Main/System/KnapSack/Logic/PackGirdCell.cs
@@ -17,11 +17,19 @@
var item = PackManager.Instance.GetItemByGuid(guid);
itemCell.Init(item);
- itemCell.button.AddListener(()=>
+ itemCell.button.AddListener(() =>
{
ItemTipUtility.Show(guid);
});
-
- redPoint.SetActive(false);
+
+ var chestConfig = ChestsConfig.Get(item.itemId);
+ if (chestConfig != null && chestConfig.ExpendItemID == 0 && chestConfig.OpenMoney == 0)
+ {
+ redPoint.SetActive(true);
+ }
+ else
+ {
+ redPoint.SetActive(false);
+ }
}
}
--
Gitblit v1.8.0