Partiially working Timeslot-change and Heat Reciever on Targets

This commit is contained in:
Thorbjoern
2025-07-19 13:02:31 +02:00
parent 13cd053279
commit 9fd840a8f8
43 changed files with 2571 additions and 263 deletions
@@ -10,10 +10,12 @@ public class ReplaySceneLoader : MonoBehaviour
private int currentScene;
public void LoadSceneAdditive(int sceneIndex)
{
sceneIndex += 1;
if(SceneManager.loadedSceneCount > 1)
{
SceneManager.UnloadSceneAsync(currentScene);
}
//if (sceneIndex == 0) return;
SceneManager.LoadSceneAsync(sceneIndex, LoadSceneMode.Additive);
currentScene = sceneIndex;