DeathBook/Assets/Scripts/loadLevel.cs
2015-08-16 12:29:23 -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("Gameplay");
}
}