DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CSHARP
unity how to end a game with esc
void
Update
(
)
{
if
(
Input
.
GetKey
(
KeyCode
.
Escape
)
)
{
Application
.
Quit
(
)
;
}
}
PREVIOUS
NEXT
Tagged:
#unity
#game
#esc
ADD COMMENT
Topic
COMMENT
Name
9+7 =
Submit