mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-04-30 10:54:26 +02:00
pause unloads assets on exit
This commit is contained in:
parent
ca742c8567
commit
8348eaa283
@ -236,7 +236,7 @@ namespace HeavenStudio.Common
|
|||||||
isQuitting = true;
|
isQuitting = true;
|
||||||
SoundByte.PlayOneShot("ui/PauseQuit");
|
SoundByte.PlayOneShot("ui/PauseQuit");
|
||||||
GameManager.instance.CircleCursor.LockCursor(false);
|
GameManager.instance.CircleCursor.LockCursor(false);
|
||||||
GlobalGameManager.LoadScene("Title", 0, 0.35f);
|
GlobalGameManager.LoadScene("Title", 0, 0.35f, callback: GameManager.instance.DestroyGame);
|
||||||
}
|
}
|
||||||
|
|
||||||
void OnSettings()
|
void OnSettings()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user