comparison Orchestland/Assets/Scripts/SceneReset.cs @ 3:0030a1b971fb default tip

merge
author Yuta ANSE <e135745@ie.u-ryukyu.ac.jp>
date Fri, 17 Jul 2015 23:23:43 +0900
parents f7675884f2a1
children
comparison
equal deleted inserted replaced
2:fdab88fc2cb9 3:0030a1b971fb
1 using UnityEngine;
2 using System.Collections;
3
4 public class SceneReset : 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.R)) {
14 Application.LoadLevel (Application.loadedLevel);
15 }
16 }
17 }