public void PlayerIsHit() { spawner.StopSpawning(); bossScript.EndInvoke(); gameOverCard.SetActive(true); }