Umänderungen, Packages installiert
This commit is contained in:
@@ -64,7 +64,7 @@ public class LevelBehavior : MonoBehaviour
|
||||
if (sceneName == "Day2")
|
||||
{
|
||||
Debug.Log("Es ist Tag 2");
|
||||
curScene = 5;
|
||||
curScene = 3;
|
||||
fie.stateTime = 5;
|
||||
silv.stateTime = 10;
|
||||
hai.stateTime = 25;
|
||||
@@ -112,16 +112,18 @@ public class LevelBehavior : MonoBehaviour
|
||||
|
||||
public void SwitchScene()
|
||||
{
|
||||
curScene++;
|
||||
|
||||
Debug.Log("Ich will jetzt in Scene " + curScene++ + " wechseln.");
|
||||
|
||||
gameOngoing = false;
|
||||
gameWon = false;
|
||||
|
||||
if (curScene < 5)
|
||||
if (curScene < 4)
|
||||
{
|
||||
Debug.Log("Ist noch nicht Tag 3");
|
||||
|
||||
SceneManager.LoadSceneAsync(curScene++);
|
||||
SceneManager.LoadSceneAsync(curScene);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user