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

public class GGJscreen : MonoBehaviour {

	public float currentTime;
	public int time;
	public string nameScene;

	// Use this for initialization
	void Start () {
		
	}
	
	// Update is called once per frame
	void Update () {
		currentTime += Time.deltaTime;
		time = (int)currentTime;
		if (time >= 4) {
			Application.LoadLevel (nameScene);
		}
	}

}
