public void Kill() { _gameAudio.DeathClip(); _spawnObjects.enabled = false; _uiController._losePanel.SetActive(true); this.gameObject.SetActive(false); }
public void Lose() { _gameAudio.DeathClip(); _spawnObjects.enabled = false; Instantiate(_deathParticle, _playerShip.transform.position, Quaternion.identity); _playerShip.SetActive(false); _uiController._losePanel.SetActive(true); }