public void LevelCompletedButton() { if (HandleTextFile.lvlName == "100") { GenerateLevel.LevelGenerate(); } else if (HandleTextFile.lvlName == "102") { SceneManager.LoadScene("Map"); } else { SceneManager.LoadScene("Map"); } }
public void PlayUnlimited() { GenerateLevel.LevelGenerate(); }