void PlayerReset() { HideCaptainLazer(); waveText.text = ""; hintText.text = ""; indicatorText.text = "Respawning!"; Instantiate(playerShip, new Vector3(0, 0, 0), new Quaternion(0, 0, 0, 0)); starField.Play(); starField2.Play(); playerDead = false; upgradeSystem.FindPlayer(); backgroundSpawner.running = true; }