private void OnTriggerEnter2D(Collider2D target)
 {
     if ((infoPanel.activeSelf ||
          exitPanel.activeSelf ||
          pausePanel.activeSelf ||
          gameOverPanel.activeSelf) &&
         target.CompareTag("BlackHole"))
     {
         Destroy(target.gameObject);
     }
     else if (PanelsNonActive() && target.CompareTag("BlackHole"))
     {
         spawner.ActivatePanel(gameOverPanel);
         levelScoreText.text = "Ты набрал " + score + " очков!";
     }
 }