From 8e91ea34abd99ec2960f67580baf2133dc86799f Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期五, 06 三月 2026 18:55:13 +0800
Subject: [PATCH] 536 【新手提示】新手期增加上阵武将提示
---
Main/System/Main/HeroFightingCardCell.cs | 18 +++++++++++++++++-
1 files changed, 17 insertions(+), 1 deletions(-)
diff --git a/Main/System/Main/HeroFightingCardCell.cs b/Main/System/Main/HeroFightingCardCell.cs
index 08a8e9f..e5ca285 100644
--- a/Main/System/Main/HeroFightingCardCell.cs
+++ b/Main/System/Main/HeroFightingCardCell.cs
@@ -23,6 +23,7 @@
[SerializeField] Image emptyLockImg;
[SerializeField] Image redPointImg;
[SerializeField] UIEffectPlayer unlockEffect;
+ [SerializeField] GameObject onTip; //涓婇樀鎻愮ず
void OnEnable()
{
@@ -63,11 +64,26 @@
redPointImg.SetActive(HeroUIManager.Instance.CanUnLock(HeroUIManager.Instance.lockIndexList[lockIndex]));
}
}
-
+ if (onTip != null)
+ {
+ if (PlayerDatas.Instance.baseData.ExAttr1 / 100 < 601 && HeroManager.Instance.GetHeroCount() > index && index < 3)
+ {
+ //鏂版墜鏈� 鍙兘鍥犱负涓�浜涙搷浣滃師鍥犳病涓婇樀鑻遍泟
+ onTip.SetActive(true);
+ }
+ else
+ {
+ onTip.SetActive(false);
+ }
+ }
return;
}
else
{
+ if (onTip != null)
+ {
+ onTip.SetActive(false);
+ }
clickHeroBtn.SetActive(true);
clickEmptyBtn.SetActive(false);
}
--
Gitblit v1.8.0