Hello,
Is this answer correct too ?
void UpdateTimer()
{
timerValue -= Time.deltaTime;
if(timerValue <= 0 && isAnsweringQuestion == false)
{
timerValue = timeToCompleteQuestion;
isAnsweringQuestion = true;
}
if(timerValue <= 0 && isAnsweringQuestion == true)
{
timerValue = timeToShowCorrectAnswer;
isAnsweringQuestion = false;
}