From 32e7c660a5413863e70cf563595be5f3cbdf5459 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B7=A6=E5=8F=B3=E7=9C=8B?= <1918891542@qq.com> Date: Sun, 9 Jul 2023 19:57:57 +0800 Subject: [PATCH] Try unload scene --- Assets/Scripts/umamusume/Gallop/Live/Director.cs | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/Assets/Scripts/umamusume/Gallop/Live/Director.cs b/Assets/Scripts/umamusume/Gallop/Live/Director.cs index 8b53ba1..0642abd 100644 --- a/Assets/Scripts/umamusume/Gallop/Live/Director.cs +++ b/Assets/Scripts/umamusume/Gallop/Live/Director.cs @@ -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)