private void GameOver(GameObject deathburst, Color screenColor, string gameOverText) { _inGameOverMenu = true; _screenLighting.StopAllCoroutines(); _screenLighting.enabled = false; Instantiate(deathburst, _playerController.transform.position, Quaternion.identity); _playerController.gameObject.SetActive(false); StartCoroutine("ChangeScreenColor", screenColor); _txtGameOverText.text = gameOverText; }