修复Bug

This commit is contained in:
DESKTOP-SAJ6RKV\Administrator 2025-05-26 23:27:19 +08:00
parent c89e566d5a
commit 0c96302df9
3 changed files with 4 additions and 3 deletions

View File

@ -86,7 +86,6 @@ namespace GameLogic
m_tmpAllValue.text = m_AllPush.ToString();
// 播放序列图,通过Gpu的形式
LoadTextureMatRes(textureId + 1);
}

View File

@ -692,6 +692,7 @@ namespace GameLogic
var winActorTeam = OnCheckWinTeam();
Log.Debug("获胜阵营的teamid" + winActorTeam.m_Index);
string winActorName = GetStrs(winActorTeam.m_Index);
Log.Debug("获胜阵营的名称:" + winActorName);

View File

@ -99,6 +99,7 @@ namespace GameLogic
UpdateGameScoreValue();
//RestHItemFunc();
// 创建横板列表
for (int i = 0; i < DataGameSceneManager.Instance.m_Strs.Count; i++)
{
@ -393,8 +394,8 @@ namespace GameLogic
// Set the target positions for the HItemActors based on their new order
for (int i = 0; i < hItemActors.Count; i++)
{
var hItemActor = hItemActors[i].actor;
hItemActor.m_Index = i + 1;
var hItemActor = hItemActors[i].actor;
hItemActor.m_Index = i;
var rectTransform = hItemActor.gameObject.GetComponent<RectTransform>();
Vector2 targetPosition = new Vector2(0, 435 - i * (109 - 5f));
targetPositions[rectTransform] = targetPosition;