public void StartGame(int _сlevel, int indexScene, string name, int countLevels)
 {
     LevelManager.currentMaxLevels     = countLevels;
     LevelManager.currentLevel         = _сlevel;
     LevelManager.currentIndexLocation = indexScene;
     LevelManager.currentLevelName     = name;
     meta.CheckCreateCoinsFiles(_сlevel, indexScene);
     blackScreen.SetActive(true);
     SceneManager.LoadScene(indexScene, LoadSceneMode.Single);
 }
Exemplo n.º 2
0
 void NextCoinMap()
 {
     meta.CheckCreateCoinsFiles(LevelManager.currentLevel, LevelManager.currentIndexLocation);
 }