using System.Collections;
using System.Collections.Generic;
public class Timer : MonoBehaviour
public void OnMouseDown()
public float timeRemaining = 10;
timeRemaining -= Time.deltaTime;
timeRemaining -= Time.deltaTime;
Debug.Log("Time has run out!");