private void NextLevel(Main main) { level += 1; levelState = 0; levelProgress = 0; Debug.Log("Level " + level); main.interLevelPanel.FadeOut("Part " + (level + 1), 1); main.ResetMap(); }