| @@ -0,0 +1,17 @@ | ||
| using UnityEngine; | ||
| using UnityEngine.UI; | ||
|
|
||
| public class TitleAnyKey : MonoBehaviour { | ||
|
|
||
| // Use this for initialization | ||
| void Start () { | ||
| } | ||
|
|
||
| // Update is called once per frame | ||
| void Update () { | ||
| if (Input.anyKey) { | ||
| Application.LoadLevel(1); | ||
| } | ||
| } | ||
|
|
||
| } |
| @@ -4,4 +4,8 @@ | ||
| EditorBuildSettings: | ||
| m_ObjectHideFlags: 0 | ||
| serializedVersion: 2 | ||
| m_Scenes: | ||
| - enabled: 1 | ||
| path: Assets/Scenes/Game/Title.unity | ||
| - enabled: 1 | ||
| path: Assets/Scenes/Game/Level1.unity | ||