|
@@ -69,11 +69,13 @@ namespace GFGGame
|
|
JudgingRoundRoleInfo otherLeftInfo = otherLeftdata.JudgingInfo;
|
|
JudgingRoundRoleInfo otherLeftInfo = otherLeftdata.JudgingInfo;
|
|
RoleInfoManager.Instance.UpdateHead(_ui.m_player1.m_head, otherLeftInfo.HeadItemId, otherLeftInfo.HeadBorderItemId);
|
|
RoleInfoManager.Instance.UpdateHead(_ui.m_player1.m_head, otherLeftInfo.HeadItemId, otherLeftInfo.HeadBorderItemId);
|
|
_ui.m_player1.m_nameText.text = otherLeftInfo.RoleName.ToString();
|
|
_ui.m_player1.m_nameText.text = otherLeftInfo.RoleName.ToString();
|
|
|
|
+ _ui.m_select1.m_numText.visible = false;
|
|
_ui.m_select1.m_numText.text = otherLeftInfo.Score.ToString();
|
|
_ui.m_select1.m_numText.text = otherLeftInfo.Score.ToString();
|
|
MatchingPhotoWorksData otherRightdata = MatchingTwoDataManager.Instance.RightRoleInfo;
|
|
MatchingPhotoWorksData otherRightdata = MatchingTwoDataManager.Instance.RightRoleInfo;
|
|
JudgingRoundRoleInfo otherRightInfo = otherRightdata.JudgingInfo;
|
|
JudgingRoundRoleInfo otherRightInfo = otherRightdata.JudgingInfo;
|
|
RoleInfoManager.Instance.UpdateHead(_ui.m_player2.m_head, otherRightInfo.HeadItemId, otherRightInfo.HeadBorderItemId);
|
|
RoleInfoManager.Instance.UpdateHead(_ui.m_player2.m_head, otherRightInfo.HeadItemId, otherRightInfo.HeadBorderItemId);
|
|
_ui.m_player2.m_nameText.text = otherRightInfo.RoleName.ToString();
|
|
_ui.m_player2.m_nameText.text = otherRightInfo.RoleName.ToString();
|
|
|
|
+ _ui.m_select2.m_numText.visible = false;
|
|
_ui.m_select2.m_numText.text = otherRightInfo.Score.ToString();
|
|
_ui.m_select2.m_numText.text = otherRightInfo.Score.ToString();
|
|
}
|
|
}
|
|
private void UpdateView()
|
|
private void UpdateView()
|
|
@@ -100,6 +102,8 @@ namespace GFGGame
|
|
if(result)
|
|
if(result)
|
|
{
|
|
{
|
|
_ui.m_select1.m_c1.selectedIndex = 1;
|
|
_ui.m_select1.m_c1.selectedIndex = 1;
|
|
|
|
+ _ui.m_select1.m_numText.visible = true;
|
|
|
|
+ _ui.m_select2.m_numText.visible = true;
|
|
_ui.m_select1.m_numText.text = string.Format("心动值{0}", MatchingTwoDataManager.Instance.LeftRoleInfo.JudgingInfo.Score.ToString());
|
|
_ui.m_select1.m_numText.text = string.Format("心动值{0}", MatchingTwoDataManager.Instance.LeftRoleInfo.JudgingInfo.Score.ToString());
|
|
_ui.m_timeText.text = string.Format("剩余次数:{0}", MatchingCompetitionDataManager.Instance.MatchingRemainingTimes);
|
|
_ui.m_timeText.text = string.Format("剩余次数:{0}", MatchingCompetitionDataManager.Instance.MatchingRemainingTimes);
|
|
_ui.m_BtnBack.touchable = false;
|
|
_ui.m_BtnBack.touchable = false;
|
|
@@ -120,6 +124,8 @@ namespace GFGGame
|
|
if (result)
|
|
if (result)
|
|
{
|
|
{
|
|
_ui.m_select2.m_c1.selectedIndex = 1;
|
|
_ui.m_select2.m_c1.selectedIndex = 1;
|
|
|
|
+ _ui.m_select1.m_numText.visible = true;
|
|
|
|
+ _ui.m_select2.m_numText.visible = true;
|
|
_ui.m_select2.m_numText.text = string.Format("心动值{0}", MatchingTwoDataManager.Instance.RightRoleInfo.JudgingInfo.Score.ToString());
|
|
_ui.m_select2.m_numText.text = string.Format("心动值{0}", MatchingTwoDataManager.Instance.RightRoleInfo.JudgingInfo.Score.ToString());
|
|
_ui.m_timeText.text = string.Format("剩余次数:{0}", MatchingCompetitionDataManager.Instance.MatchingRemainingTimes);
|
|
_ui.m_timeText.text = string.Format("剩余次数:{0}", MatchingCompetitionDataManager.Instance.MatchingRemainingTimes);
|
|
_ui.m_BtnBack.touchable = false;
|
|
_ui.m_BtnBack.touchable = false;
|