From 8589ec3bb98ff6c0207d0783838454204956418e Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期四, 29 一月 2026 15:43:52 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts
---
Main/System/HeroUI/HeroGiftLineCell.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Main/System/HeroUI/HeroGiftLineCell.cs b/Main/System/HeroUI/HeroGiftLineCell.cs
index ce685b9..c86faa0 100644
--- a/Main/System/HeroUI/HeroGiftLineCell.cs
+++ b/Main/System/HeroUI/HeroGiftLineCell.cs
@@ -6,10 +6,10 @@
[SerializeField] GiftBaseCell[] cardList;
public void Display(int index, List<int> configList)
- {
+ {
for (int i = 0; i < cardList.Length; i++)
{
- if (index < configList.Count)
+ if (index + i < configList.Count)
{
var giftID = configList[index + i];
var giftLV = HeroUIManager.Instance.maxGiftLevel;
--
Gitblit v1.8.0