comparison Chapter5/Assets/Scripts/GameOverMgr.cs @ 2:fdab88fc2cb9

add game projects
author Yuta ANSE <e135745@ie.u-ryukyu.ac.jp>
date Fri, 17 Jul 2015 23:14:45 +0900
parents
children
comparison
equal deleted inserted replaced
0:347d21cdfc22 2:fdab88fc2cb9
1 using UnityEngine;
2 using System.Collections;
3
4 public class GameOverMgr : MonoBehaviour {
5
6 // Use this for initialization
7 void Start () {
8
9 }
10
11 // Update is called once per frame
12 void Update () {
13 if (Input.GetKeyDown (KeyCode.Return)) {
14 Application.LoadLevel ("StartScreen");
15 }
16 }
17 }