예제 #1
0
 // Update is called once per frame
 void Update()
 {
     if (!circleControllerReference.getGameOverState())
     {
         scoreText.text = ScoreManager.instance.getScore().ToString();
         float t = CircleController.getTimer();
         timerText.text = t > 0 ? (t >= 10 ? ((int)t).ToString() : "0" + (int)t) : "00";
     }
 }