void NewGame() { isPlaying = true; mainMenu.SetActive(false); gamePoints = 0; spawner.StartSpawn(soldier.transform.position); StartCoroutine(soldier.Shot()); StartCoroutine(spawner.TimeCoroutine()); }