修复Bug
This commit is contained in:
parent
c89e566d5a
commit
0c96302df9
@ -86,7 +86,6 @@ namespace GameLogic
|
|||||||
m_tmpAllValue.text = m_AllPush.ToString();
|
m_tmpAllValue.text = m_AllPush.ToString();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// 播放序列图,通过Gpu的形式
|
// 播放序列图,通过Gpu的形式
|
||||||
LoadTextureMatRes(textureId + 1);
|
LoadTextureMatRes(textureId + 1);
|
||||||
}
|
}
|
||||||
|
@ -692,6 +692,7 @@ namespace GameLogic
|
|||||||
|
|
||||||
var winActorTeam = OnCheckWinTeam();
|
var winActorTeam = OnCheckWinTeam();
|
||||||
|
|
||||||
|
Log.Debug("获胜阵营的teamid" + winActorTeam.m_Index);
|
||||||
string winActorName = GetStrs(winActorTeam.m_Index);
|
string winActorName = GetStrs(winActorTeam.m_Index);
|
||||||
|
|
||||||
Log.Debug("获胜阵营的名称:" + winActorName);
|
Log.Debug("获胜阵营的名称:" + winActorName);
|
||||||
|
@ -99,6 +99,7 @@ namespace GameLogic
|
|||||||
UpdateGameScoreValue();
|
UpdateGameScoreValue();
|
||||||
//RestHItemFunc();
|
//RestHItemFunc();
|
||||||
|
|
||||||
|
|
||||||
// 创建横板列表
|
// 创建横板列表
|
||||||
for (int i = 0; i < DataGameSceneManager.Instance.m_Strs.Count; i++)
|
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
|
// Set the target positions for the HItemActors based on their new order
|
||||||
for (int i = 0; i < hItemActors.Count; i++)
|
for (int i = 0; i < hItemActors.Count; i++)
|
||||||
{
|
{
|
||||||
var hItemActor = hItemActors[i].actor;
|
var hItemActor = hItemActors[i].actor;
|
||||||
hItemActor.m_Index = i + 1;
|
hItemActor.m_Index = i;
|
||||||
var rectTransform = hItemActor.gameObject.GetComponent<RectTransform>();
|
var rectTransform = hItemActor.gameObject.GetComponent<RectTransform>();
|
||||||
Vector2 targetPosition = new Vector2(0, 435 - i * (109 - 5f));
|
Vector2 targetPosition = new Vector2(0, 435 - i * (109 - 5f));
|
||||||
targetPositions[rectTransform] = targetPosition;
|
targetPositions[rectTransform] = targetPosition;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user