public void Die() { FindObjectOfType <AudioManager>().Play("Death"); isDead = true; Instantiate(death, new Vector3(gameObject.transform.position.x, gameObject.transform.position.y, 0f), transform.rotation); gameObject.SetActive(false); scoreHandler.Highscore(); }