mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-08 18:55:07 +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()
|
||||
|
@ -245,4 +245,4 @@ namespace HeavenStudio.Common
|
|||
settingsDialog.SwitchSettingsDialog();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue