示例#1
0
 // Update is called once per frame
 void Update()
 {
     if (!_ever_moved)
     {
         CheckPlayerMoved();
     }
     else if (GameGlobals.timeRunning)
     {
         GameGlobals.ReduceTime(Time.deltaTime);
         _time_dispaly.text = ((int)GameGlobals.remainingTime) + " seconds remaining";
     }
 }