DeathBook/Assets/Scripts/loadLevel.cs
Patrice Vignola 46968948fb Merge branch 'master' of https://github.com/ConjureETS/DeathBook
Conflicts:
	Assets/Scripts/Models/Status.cs
2015-08-16 23:42:47 -04:00

20 lines
307 B
C#

using UnityEngine;
using System.Collections;
public class loadLevel : MonoBehaviour
{
public int timeToWait = 2;
// Use this for initialization
void Start()
{
Invoke("NextScene", timeToWait);
}
void NextScene()
{
Application.LoadLevel("Tutoriel");
}
}