Try unload scene
This commit is contained in:
@@ -507,17 +507,8 @@ namespace Gallop.Live
|
|||||||
{
|
{
|
||||||
if (Input.GetKeyDown(KeyCode.Escape))
|
if (Input.GetKeyDown(KeyCode.Escape))
|
||||||
{
|
{
|
||||||
UmaSceneController.instance.LoadScene("Version2",
|
SceneManager.LoadScene("Version2");
|
||||||
delegate ()
|
AssetBundle.UnloadAllAssetBundles(true);
|
||||||
{
|
|
||||||
AssetBundle.UnloadAllAssetBundles(true);
|
|
||||||
},
|
|
||||||
delegate ()
|
|
||||||
{
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_isLiveSetup)
|
if (_isLiveSetup)
|
||||||
|
|||||||
Reference in New Issue
Block a user