Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (Input.GetKey(KeyCode.Escape) && Input.GetKey(KeyCode.LeftShift)) {
- #if UNITY_EDITOR
- UnityEditor.EditorApplication.isPlaying = false;
- #else
- Application.Quit();
- #endif
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement