mirror of
https://github.com/ConjureETS/EscapeTheRoom.git
synced 2026-03-24 17:20:58 +00:00
19 lines
322 B
C#
19 lines
322 B
C#
using UnityEngine;
|
|
using System.Collections;
|
|
|
|
public class BtnJouer : MonoBehaviour {
|
|
|
|
// Use this for initialization
|
|
void Start () {
|
|
|
|
}
|
|
|
|
// Update is called once per frame
|
|
void Update () {
|
|
if (Input.GetButton ("Fire1"))
|
|
Application.LoadLevel(1);
|
|
if (Input.GetButton ("Quit"))
|
|
Application.Quit();
|
|
}
|
|
}
|