private void OnCollisionEnter2D(Collision2D col) { if (col.gameObject.tag == "Player") { spawner.DeletePoints(gameObject); } }