From 7ad2305fbed71ea4c08cbf93850019497b6d3ac0 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期三, 26 十一月 2025 15:04:26 +0800
Subject: [PATCH] 0312 武将列表界面和布阵界面组件名增加武将ID
---
Main/System/HeroUI/HeroPosHeadCell.cs | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Main/System/HeroUI/HeroPosHeadCell.cs b/Main/System/HeroUI/HeroPosHeadCell.cs
index ba6249a..d70783f 100644
--- a/Main/System/HeroUI/HeroPosHeadCell.cs
+++ b/Main/System/HeroUI/HeroPosHeadCell.cs
@@ -15,6 +15,7 @@
var hero = HeroManager.Instance.GetHero(guid);
var team = TeamManager.Instance.GetTeam(HeroUIManager.Instance.selectTeamType);
selectRect.SetActive(team.GetHero(guid) != null);
+ this.gameObject.name = $"HeroPosHeadCell_{hero.heroId}";
heroHeadBaseCell.Init(hero.heroId, hero.SkinID, hero.heroStar, hero.awakeLevel, hero.heroLevel, () =>
{
--
Gitblit v1.8.0