public void StartRound(int seconds, MyCountdownTimer.TimerElapsedCallback te, MyCountdownTimer.TimerFinished tf) { if (!isRoundStarted) { Debug.Log("start round"); roundTime = seconds; finishedCallback = tf; intervalCallback = te; timeRemaining = roundTime; isRoundStarted = true; //timeDisplay.enabled = true;//works: shows the display timeDisplay.SetText((timeRemaining).ToString()); countdownTimer.StartTimer(timeRemaining, 1, 1, TimerElapsed, TimerFinished); } }
public void StartFinalCountDown(int seconds, MyCountdownTimer.TimerElapsedCallback te, MyCountdownTimer.TimerFinished tf) { //timeDisplay.enabled = false;//works: hides the display // StartRound(seconds, te, ) }