mirror of
https://github.com/ConjureETS/DeathBook.git
synced 2026-03-24 12:30:59 +00:00
20 lines
307 B
C#
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");
|
|
}
|
|
|
|
}
|