// Displays the LevelCompleted menu and disables everything else public void ScoreMenu() { LiveText.SetActive(false); ScoreText.SetActive(false); BioFeedback.SetActive(false); SGemSpawner.GetComponent <WaveSpawner>().stopSpawning = true; LGemSpawner.GetComponent <WaveSpawner>().stopSpawning = true; SpSpawner.GetComponent <WaveSpawner>().stopSpawning = true; ScoreBoard.SetActive(true); }
public void LevelAdd() { level += 1; // Resume Spawning of Objects SGemSpawner.GetComponent <WaveSpawner>().stopSpawning = false; LGemSpawner.GetComponent <WaveSpawner>().stopSpawning = false; SpSpawner.GetComponent <WaveSpawner>().stopSpawning = false; SGemSpawner.GetComponent <WaveSpawner>().StartSpawn(); LGemSpawner.GetComponent <WaveSpawner>().StartSpawn(); SpSpawner.GetComponent <WaveSpawner>().StartSpawn(); }