Hello,
Is there a setting in AC for it to automatically pause should the game window not be the focus (i.e. the player alt-tabs into some other app)?
Basically I want it so if focus is lost, the game pauses activating the pause menu, and then when the player returns they have to resume as normal.
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
You can rely on Unity's OnApplicationFocus function, triggered when this occurs, to have AC bring up the pause menu.
Best to also check if AC is already paused, so that it doesn't turn on the Pause menu again.
Something like this inside a MonoBehaviour should do it: