Register Login Contact Us

Unity3d exit game

I've been working on this for a while now but I still can't find out how to properly do it?. I made a canvas and put in text that said Exit.


naughty personals Sabrina

Online: Yesterday

About

Please confirm the function is actually getting called. A Debug. Log "called" ; line inside the sample's if-statement should do this. Quit does not work while in the Unity editor. If you are running the game in the Unity editor use UnityEditor.

Anselma
Years 46
Sex: Girl
Languages: English
Music: I prefer to listen easy listening
My hobbies: In my spare time I love fishing
Piercing: None

Views: 2030

submit to reddit
horny babe Paris

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable. For some reason your suggested change could not be submitted.

naughty females Lillian

And thank you for taking the time to help us improve the quality of Unity Documentation. Note: iOS applications are usually suspended and do not quit. For iOS builds, enable the " Exit on Suspend " property in Player Settings to make the application quit and not suspend, otherwise you might not see this call.

talent lady Emery

If you do not enable the " Exit on Suspend " property then you will see calls to OnApplicationPause instead. Use the OnApplicationFocus event when focusStatus equals false. Is something described here not working as you expect it to?

slutty babe Kynlee

It might be a Known Issue. Please check with the Issue Tracker at issuetracker.

horney sister Nayeli

Version: Language English. Scripting API. Suggest a change. Submission failed For some reason your suggested change could not be submitted.

white sister Aarya

Description Sent to all GameObjects before the application quits. In the Editor, Unity calls this message when playmode is stopped.

horny madam Tatum

Publication Date: