#How come when I set Application.wantsToQuit back to true, the application doesn't quit?

1 messages · Page 1 of 1 (latest)

echo sail
#

Image on the left is code ran BEFORE the code on the right.

indigo valley
#

Have you tried unsubscribing WantsToQuitFalse from wantsToQuit before calling Quit in ForceQuitGame? I'm not sure how this works when you have multiple subscriptions to wantsToQuit to be honest, but it's possible it cancels the quitting process as soon as a single callback returns false even if another one returns true.

echo sail
quick hedge
#

Yes, it has to be the exact same method. If you try to unsubscribe a completely different method it won't do anything