From 692eb3408fa5a265efeb35e8eb7941898e9b3a03 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期五, 07 十一月 2025 19:41:00 +0800
Subject: [PATCH] 0312 修复掉落单装备按钮显示问题
---
Main/System/Equip/EquipExchangeCell.cs | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
diff --git a/Main/System/Equip/EquipExchangeCell.cs b/Main/System/Equip/EquipExchangeCell.cs
index 28fdc6e..3aa1f27 100644
--- a/Main/System/Equip/EquipExchangeCell.cs
+++ b/Main/System/Equip/EquipExchangeCell.cs
@@ -89,10 +89,23 @@
{
equipedText.SetActive(false);
fightPowerGO.SetActive(true);
- decomposeObject.SetActive(true);
btnsGO.SetActive(true);
decomposeCheck.isOn = isToggle;
+ if (oldEquip == null)
+ {
+ decomposeObject.SetActive(false);
+ exchangeButton.SetActive(false);
+ putonButton.SetActive(true);
+ }
+ else
+ {
+ decomposeObject.SetActive(true);
+ exchangeButton.SetActive(true);
+ putonButton.SetActive(false);
+ }
+
+
long showFightPower = FightPowerManager.Instance.GetFightPowerChange(EquipModel.Instance.selectFloorEquip);
if (showFightPower < 0)
--
Gitblit v1.8.0