is it a best way to make a simple timer @sumit47

#region Update
///


/// used for timer
///

private void Update()
{
if (isPlayerRunning)
{
timer += Time.deltaTime;
string minutes = Mathf.Floor(timer / 60).ToString(“00”);
string seconds = (timer % 60).ToString(“00”);
timerText.text = string.Format(“{0}:{1}”, minutes, seconds);
}
}
#endregion

hi there, I dont quite have the solution you’re looking but the way i have my timer working in seconds is the following:

void Update () 
	{
	    timer += Time.deltaTime;
		timer = Mathf.Round (timer * 100f) / 100f;
		timerText.text = timer.ToString ();
	}

How you get that formatted the way you want is a little beyond me so dont accept this an answer but sometimes this page can be slightly slow so I thought giving half a solution is better than nothing :L.

Sorry I cant be of more help.122518-goodeffort.png

It works for me after some tweaking…lolz !
Thanks BTW…@MajorSmurf