|
|
@ -199,6 +199,11 @@ public class GameManager : MonoBehaviour
|
|
|
|
powerUps.SetActive(true);
|
|
|
|
powerUps.SetActive(true);
|
|
|
|
pauseButton.SetActive(true);
|
|
|
|
pauseButton.SetActive(true);
|
|
|
|
disableAllPowerups();
|
|
|
|
disableAllPowerups();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for (int i = 0; i < artActivated.Length; i++){
|
|
|
|
|
|
|
|
artActivated[i] = false;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
player.SetActive(true);
|
|
|
|
player.SetActive(true);
|
|
|
|
LoadLevel(sceneToLoad, positionToLoad);
|
|
|
|
LoadLevel(sceneToLoad, positionToLoad);
|
|
|
|
title.GetComponent<TextMeshProUGUI>().text = "Menu";
|
|
|
|
title.GetComponent<TextMeshProUGUI>().text = "Menu";
|
|
|
|