void NextLevel() { nextLevelCheck = true; PlayerPrefs.SetInt("CurrentLevel", PlayerPrefs.GetInt("CurrentLevel") + 1); lvlChange.Invoke("Start", 2f); Debug.Log(PlayerPrefs.GetInt("CurrentLevel") + " CurrentLevel"); Invoke("RoundStart", 2.5f); }
public static void ChangeLevel(Tuple <string, char[][]> level) { LevelChange?.Invoke(level); }