Countdown Problem c#

using UnityEngine;
using System.Collections;

public class Timer : MonoBehaviour {


	//Variables 
	private float seconds = 0.0f;
	private float minutes = 1.0f;
	private float hours = 0.0f; 







	// Use this for initialization
	void Start () 
	{
	
	}
	
	// Update is called once per frame
	public void Update()
	{
		seconds += time.deltatime;
		if(seconds > 60)
		{
			minutes += 1;
			seconds = 0;
		}
		if(minutes > 60)
		{
			hours += 1;
			minutes = 0;
		}
		print("Hours: " + hours + " " + "Minutes: " + minutes + " " + "Seconds" + seconds);
	
	
}
}

I get the error : time doesn’t exists

That’s because it should be capitalized. Time, not time.

Your casing is off:

seconds += Time.deltaTime; //Instead of time.deltatime;

I’d also suggest you replace

if(seconds > 60)
{
	minutes += 1;
	seconds = 0;
}

with

while(seconds >= 60.0f)
{
	minutes += 1;
	seconds -= 60.0f;
}

to avoid losing second fractions when ticking up the minutes. Or simply use a System.DateTime variable and its .AddSeconds() method to handle all that automatically.

Thanks i will try it