|
@@ -91,8 +91,9 @@ public class GameManager : MonoBehaviour
|
|
|
gameTime += Time.deltaTime;
|
|
gameTime += Time.deltaTime;
|
|
|
totalGameTime += Time.deltaTime;
|
|
totalGameTime += Time.deltaTime;
|
|
|
EnemyCreater.instance.OnGameTimeChange(gameTime);
|
|
EnemyCreater.instance.OnGameTimeChange(gameTime);
|
|
|
- int timeText = (int)totalGameTime;
|
|
|
|
|
- text.text = $"{timeText / 60:D2}:{timeText % 60:D2}({timeText}s)";
|
|
|
|
|
|
|
+ int timeText = (int)gameTime;
|
|
|
|
|
+ //text.text = $"{timeText / 60:D2}:{timeText % 60:D2}({timeText}s)";
|
|
|
|
|
+ text.text = $"{timeText}";
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|