Added Scene-scene as empty base scene and toggle function to Change Session-Button
This commit is contained in:
@@ -10,7 +10,7 @@ public class ReplaySceneLoader : MonoBehaviour
|
||||
private int currentScene;
|
||||
public void LoadSceneAdditive(int sceneIndex)
|
||||
{
|
||||
sceneIndex += 1;
|
||||
sceneIndex += 1; // Um die Basis-Scene nicht zu laden
|
||||
if(SceneManager.loadedSceneCount > 1)
|
||||
{
|
||||
SceneManager.UnloadSceneAsync(currentScene);
|
||||
|
||||
Reference in New Issue
Block a user