public void loadCheckPointLevel() { if (checkPointLevel == 10) { Application.LoadLevel("LevelTen"); } else if (checkPointLevel == 20) { Application.LoadLevel("LevelTwenty"); } if (livesController != null) { livesControllerScript.loadDeaths(); } }
public void loadCheckPointLevel() { if (checkPointLevel == 10) { Application.LoadLevel("LevelTen"); } else if (checkPointLevel == 20) { Application.LoadLevel("LevelTwenty"); } if (livesController != null) { livesControllerScript.loadDeaths(); } }