pause unloads assets on exit

This commit is contained in:
minenice55 2024-01-22 14:18:41 -05:00 committed by GitHub
parent 336203fb5e
commit 898e395f66

View file

@ -236,7 +236,7 @@ namespace HeavenStudio.Common
isQuitting = true;
SoundByte.PlayOneShot("ui/PauseQuit");
GameManager.instance.CircleCursor.LockCursor(false);
GlobalGameManager.LoadScene("Title", 0, 0.35f);
GlobalGameManager.LoadScene("Title", 0, 0.35f, callback: GameManager.instance.DestroyGame);
}
void OnSettings()