#How come when I set Application.wantsToQuit back to true, the application doesn't quit?
1 messages · Page 1 of 1 (latest)
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.
I've tried unsubscribing from just a false bool like the one it's initially subscribing to and it didn't work, but maybe it has to be the ACTUAL boolean it initially subscribed to. I'll see if I can give that a go.
Yes, it has to be the exact same method. If you try to unsubscribe a completely different method it won't do anything