Exemple #1
0
        public void LevelUp()
        {
            if (_level._cantItems == 3)
            {
                _soundManager.SetMusicClipName("Lv complete");
                _soundManager.PlayMusicClipName();

                Map1.SetActive(false);

                Map2.SetActive(true);

                _level.SetStartCheckPoint(_startRespawn);

                _level._cantItems++;

                _text.text = "Thank you for playing";
            }
        }