public void EnterDoor()
 {
     gh_PlayerReturn.UpdateLocation();
     Debug.Log("You entered a door");
     if (GameHandler.Level4Complete)
     {
         SceneManager.LoadScene(levelFiveReturnMap);
     }
     else if (GameHandler.Level3Complete)
     {
         SceneManager.LoadScene(levelFourReturnMap);
     }
     else if (GameHandler.Level2Complete)
     {
         SceneManager.LoadScene(levelThreeReturnMap);
     }
     else if (GameHandler.Level1Complete)
     {
         SceneManager.LoadScene(levelTwoReturnMap);
     }
     else
     {
         SceneManager.LoadScene(levelTwoReturnMap);
     }
 }
 public void EnterDoor()
 {
     gh_PlayerReturn.UpdateLocation();
     if (GameHandler.ClaudiaEncountered == true)
     {
         SceneManager.LoadScene(NextLevel);
     }
     else if (GameHandler.ClaudiaEncountered == false)
     {
         SceneManager.LoadScene(ClaudiaLevel);
     }
 }
Ejemplo n.º 3
0
 public void EnterDoor()
 {
     gh_PlayerReturn.UpdateLocation();
     Debug.Log("You entered a door");
     SceneManager.LoadScene(NextLevel);
 }
 public void GoToPills()
 {
     gh_PlayerReturn.UpdateLocation();
     SceneManager.LoadScene(MatchCard);
 }
Ejemplo n.º 5
0
 public void GoToHideout()
 {
     gh_PlayerReturn.UpdateLocation();
     SceneManager.LoadScene(HideoutLevel);
 }