mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-09 19:25:10 +00:00
pause unloads assets on exit
This commit is contained in:
parent
336203fb5e
commit
898e395f66
1 changed files with 2 additions and 2 deletions
|
@ -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