private void CheckAndLoadNewLevel() { if (levelEnded && !AnimationsManager.levelEndedAnimation) { Clear(); if (LevelManager.NextLevel()) { //LoadLevel(); //AnimationsManager.PlayLevelStartAnimation(LevelManager.actualLevel); //levelToStart = true; GameObject.Find("Menu").transform.FindChild("NextLevel").gameObject.SetActive(true); } else { AnimationsManager.PlayGameWonAnimation(); } } }