From 108997fd934885b21c7cc7af3fcde171d5c3cca9 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期日, 31 八月 2025 13:20:24 +0800
Subject: [PATCH] 50 【主界面】核心主体 - 卡牌

---
 Main/System/HeroUI/HeroHeadBaseCell.cs |   14 ++------------
 1 files changed, 2 insertions(+), 12 deletions(-)

diff --git a/Main/System/HeroUI/HeroHeadBaseCell.cs b/Main/System/HeroUI/HeroHeadBaseCell.cs
index bdad82b..235971a 100644
--- a/Main/System/HeroUI/HeroHeadBaseCell.cs
+++ b/Main/System/HeroUI/HeroHeadBaseCell.cs
@@ -137,7 +137,7 @@
     }
 
     // 姝﹀皢灏忓ご鍍忥紝锛堣亴涓氬拰鍚嶇О涓嶅啀姝ょ鐞嗭紝鍚勪釜鐣岄潰鎺掔増涓嶅悓锛�
-    public void Init(int heroID, int skinID = 0, int star = 0, int awakelv = 0, int lv = 0, UnityAction onclick = null)
+    public void Init(int heroID, int skinID, int star = 0, int awakelv = 0, int lv = 0, UnityAction onclick = null)
     {
         clickBtn.AddListener(onclick);
         var heroConfig = HeroConfig.Get(heroID);
@@ -161,17 +161,7 @@
         {
             heroIcon.overrideSprite = sprite;
         }
-        for (int i = 0; i < 5; i++)
-        {
-            if (i < star)
-            {
-                starsImg[i].SetSprite("star");
-            }
-            else
-            {
-                starsImg[i].SetSprite("star0");
-            }
-        }
+
 
         if (star == 0)
         {

--
Gitblit v1.8.0