void Update() { if (showing == true) { TimeSpan ts = TimeSpan.FromSeconds(RaceManager.GetCountdownTimerTimeLeftSec()); text.text = string.Format("{0:00}:{1:0}", ts.Seconds, ts.Milliseconds / 100); } }
void Update() { if (showing == true) { TimeSpan ts = TimeSpan.FromSeconds(RaceManager.GetCountdownTimerTimeLeftSec()); text.text = string.Format("{0:00}:{1:0}", ts.Seconds, ts.Milliseconds / 100); } }