private void OnTriggerEnter2D(Collider2D collision) { if (collision.gameObject.tag == "Bullet") { gamemanag = GameObject.Find("background").GetComponent <gamemanager>(); gamemanag.Puntuar(points); gamemanag.CountEnemies(); Destroy(gameObject); } }