Added Scene-scene as empty base scene and toggle function to Change Session-Button

This commit is contained in:
Thorbjoern
2025-07-19 13:57:32 +02:00
parent 9fd840a8f8
commit 65b8d68461
9 changed files with 629 additions and 127 deletions
+1 -1
View File
@@ -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);