private void OnCollisionEnter(Collision collision) { if (collision.gameObject.tag == "Player") { HUD.AddCoins(); Destroy(gameObject); } }