public void SceneLoad(int myScene) { if (sceneLoaded) { SceneManager.UnloadSceneAsync(curLevel); SceneManager.LoadScene(myScene, LoadSceneMode.Additive); curLevel = myScene; } else { SceneManager.LoadScene(myScene, LoadSceneMode.Additive); curLevel = myScene; sceneLoaded = true; } TheMachine.SceneChange(); }