diff --git a/UnityProject/Assets/GameScripts/HotFix/GameLogic/Actor/ActorHItem.cs b/UnityProject/Assets/GameScripts/HotFix/GameLogic/Actor/ActorHItem.cs index dc001960..d142408d 100644 --- a/UnityProject/Assets/GameScripts/HotFix/GameLogic/Actor/ActorHItem.cs +++ b/UnityProject/Assets/GameScripts/HotFix/GameLogic/Actor/ActorHItem.cs @@ -86,7 +86,6 @@ namespace GameLogic m_tmpAllValue.text = m_AllPush.ToString(); - // 播放序列图,通过Gpu的形式 LoadTextureMatRes(textureId + 1); } diff --git a/UnityProject/Assets/GameScripts/HotFix/GameLogic/Manager/DataGameSceneManager.cs b/UnityProject/Assets/GameScripts/HotFix/GameLogic/Manager/DataGameSceneManager.cs index 177c62a1..6b75ca10 100644 --- a/UnityProject/Assets/GameScripts/HotFix/GameLogic/Manager/DataGameSceneManager.cs +++ b/UnityProject/Assets/GameScripts/HotFix/GameLogic/Manager/DataGameSceneManager.cs @@ -692,6 +692,7 @@ namespace GameLogic var winActorTeam = OnCheckWinTeam(); + Log.Debug("获胜阵营的teamid" + winActorTeam.m_Index); string winActorName = GetStrs(winActorTeam.m_Index); Log.Debug("获胜阵营的名称:" + winActorName); diff --git a/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIGameBattle.cs b/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIGameBattle.cs index 46ea7a1b..2485b8da 100644 --- a/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIGameBattle.cs +++ b/UnityProject/Assets/GameScripts/HotFix/GameLogic/UI/UIGameBattle.cs @@ -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(); Vector2 targetPosition = new Vector2(0, 435 - i * (109 - 5f)); targetPositions[rectTransform] = targetPosition;