IMHOTEP Framework
Main Page
Related Pages
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Variables
Enumerations
Enumerator
Properties
Pages
Assets
Core
Util
Exit.cs
1
using
UnityEngine;
2
using
System.Collections;
3
4
public
class
Exit
: 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.GetKey(
"escape"
))
14
{
15
Application.Quit();
16
}
17
}
18
}
Exit
Definition:
Exit.cs:4
Generated by
1.8.6