mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-04-30 01:04: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;
|
||||
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…
x
Reference in New Issue
Block a user