示例#1
0
 // Update is called once per frame
 void Update()
 {
     if (isTesting)
     {
         Debug.Log("GameTrackerTester: Time Left = " + GameTracker.GetTimeLeft()
                   + " / Normalized = " + GameTracker.GetTimeLeftNormalized());
     }
 }
示例#2
0
 // Update is called once per frame
 void Update()
 {
     scoreText.text = GameTracker.GetCurrentScore().ToString();
     timerText.text = (Mathf.CeilToInt(GameTracker.GetTimeLeft())).ToString();
 }