mirror of
https://github.com/ConjureETS/DeathBook.git
synced 2026-03-23 20:10:58 +00:00
Merge branch 'master' of https://github.com/ConjureETS/DeathBook
This commit is contained in:
commit
53d76e8953
19
Assets/Scripts/loadLevel.cs
Normal file
19
Assets/Scripts/loadLevel.cs
Normal file
@ -0,0 +1,19 @@
|
||||
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");
|
||||
}
|
||||
|
||||
}
|
||||
12
Assets/Scripts/loadLevel.cs.meta
Normal file
12
Assets/Scripts/loadLevel.cs.meta
Normal file
@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2931322f1f0c62f40b2d7a6e493934ca
|
||||
timeCreated: 1439741672
|
||||
licenseType: Free
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Loading…
x
Reference in New Issue
Block a user