|
@@ -54,7 +54,7 @@ namespace GFGGame
|
|
|
{
|
|
|
base.OnShown();
|
|
|
|
|
|
- timeIndex = 0;
|
|
|
+ timeIndex = 3;
|
|
|
GetRoleContainerInfos();
|
|
|
Timers.inst.Add(1, 3, UpdateTime);
|
|
|
}
|
|
@@ -108,7 +108,7 @@ namespace GFGGame
|
|
|
private void UpdateTime(object param)
|
|
|
{
|
|
|
timeIndex -= 1;
|
|
|
- _ui.m_txtCountdown.text = "将在" + timeIndex + "s后进入下一阶段";
|
|
|
+ _ui.m_txtCountdown.text = string.Format("将在{0}s后进入下一阶段", timeIndex);
|
|
|
if (timeIndex <= 0) {
|
|
|
openNextView();
|
|
|
Timers.inst.Remove(UpdateTime);
|