Log in or register to post comments

Exit the application with the back button

June 10, 2012 - 6:46am #1

does anyone know how to exit the application with the back button?

if anyone can tell how?

Re: Exit the application with the back button

June 11, 2012 - 9:50am #4

You can attach it to the ARCamera or any other GameObject in the hierarchy.

Re: Exit the application with the back button

June 11, 2012 - 7:36am #3

if allowed to know, the script should be placed where? what should be put on ARCamera?

Re: Exit the application with the back button

June 10, 2012 - 6:49am #2
		if (Input.GetKeyDown ("escape")) {
			Application.Quit ();
		}
Log in or register to post comments