|
@@ -106,10 +106,16 @@ namespace GFGGame
|
|
_ui.m_select2.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_t0.Play(() => OnClickBtnBack());
|
|
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+ _ui.m_t0.Play(async () =>
|
|
|
|
+ {
|
|
|
|
+ bool resulst = await MatchingCompetitionSproxy.ReqGetTwoPlayers();
|
|
|
|
+ if (resulst)
|
|
|
|
+ {
|
|
|
|
+ UpdateView();
|
|
|
|
+ UpdatePlayer();
|
|
|
|
+ }
|
|
|
|
+ });
|
|
}
|
|
}
|
|
private async void OnClickBtnSelect2()
|
|
private async void OnClickBtnSelect2()
|
|
{
|
|
{
|
|
@@ -128,9 +134,16 @@ namespace GFGGame
|
|
_ui.m_select2.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_t1.Play(() => OnClickBtnBack());
|
|
|
|
}
|
|
}
|
|
|
|
+ _ui.m_t1.Play(async () =>
|
|
|
|
+ {
|
|
|
|
+ bool resulst = await MatchingCompetitionSproxy.ReqGetTwoPlayers();
|
|
|
|
+ if (resulst)
|
|
|
|
+ {
|
|
|
|
+ UpdateView();
|
|
|
|
+ UpdatePlayer();
|
|
|
|
+ }
|
|
|
|
+ });
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|