If i want to close my windows application, how can i simply close the window by code?
Mar 03 '11 at 12:33 PM
Mar 03 '11 at 12:39 PM
Take a look at the reference: Application.Quit
One second too late :-)
Thank you very much.
Hehe, maybe we need a mutex here :)
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
Once you sign in you will be able to subscribe for any updates here
Answers and Comments
The best place to ask and answer questions about development with Unity. Check out our FAQ for more information.
To help users post good questions and use the site effectively we have posted a tutorial video. Please check it out.
asked: Mar 03 '11 at 12:33 PM
Seen: 646 times
Last Updated: Mar 03 '11 at 12:33 PM
How do I set layer depth for GUI Texture GameObjects?
Scene not loading when pressing menu button
How to close a GUI window
How do I handle object selection and GUI response ingame?
How can I get the 2D Position of a 3D gameObject
How to create an agenda or timetable system?
How could I create a dynamic cartoon style speech bubble?
Heads Up Display (HUD)
Copy/Paste GuiStyle in the Inspector
XBox 360 controller for the GUI