示例#1
0
 void Update()
 {
     SetScore(GameData.Instance().M_RunningData.M_Score + "");
     roleStateText.text = GameData.Instance().M_RunningData.M_RoleState;
     if (count.IsPlaying)
     {
         slowText.text = ((int)count.GetLeftTime() + 1) + "";
         fastText.text = ((int)count.GetLeftTime() + 1) + "";
     }
     else
     {
         slowText.text = "SLOW";
         fastText.text = "FAST";
     }
 }