Try unload scene

This commit is contained in:
左右看
2023-07-09 19:57:57 +08:00
parent 45e05b5800
commit 32e7c660a5
@@ -507,17 +507,8 @@ namespace Gallop.Live
{
if (Input.GetKeyDown(KeyCode.Escape))
{
UmaSceneController.instance.LoadScene("Version2",
delegate ()
{
AssetBundle.UnloadAllAssetBundles(true);
},
delegate ()
{
});
return;
SceneManager.LoadScene("Version2");
AssetBundle.UnloadAllAssetBundles(true);
}
if (_isLiveSetup)