How do I make my coundown uniform?

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class Timer : MonoBehaviour {

    public float displayTime = 3;
    public Text timeText;
	// Use this for initialization
	void Start () {
	// Update is called once per frame
	void Update () {
            displayTime = 3;
        displayTime -= Time.deltaTime;
        timeText.text = displayTime.ToString("f0");

I’ve typed this code. I feel it is because of the encountered “if” block. But i want to revert the timer back to 3 once it reaches 0. How do i do that without the loss in countdown accuracy?


sorry i did not get u does this code works or not ? and what is your problem exactly ?

I’m trying to count down from 3 to 0, then reset the timer to 3 then count down again…

What I am encountering is a non uniform count down… What I mean is the time gap between 3 and 2 is different from that between 2 and 1.