pause unloads assets on exit
This commit is contained in:
parent
ca742c8567
commit
8348eaa283
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue