DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CSHARP
How to quit unity app
#
if
UNITY_EDITOR
UnityEditor
.
EditorApplication
.
isPlaying
=
false
;
#
else
Application
.
Quit
(
)
;
#
endif
PREVIOUS
NEXT
Tagged:
#How
#quit
#unity
#app
ADD COMMENT
Topic
COMMENT
Name
1+2 =
Submit