void OnCollisionEnter2D(Collision2D other) { if (other.gameObject.tag == "Despawner") { game.DecFloor(); Destroy(this.gameObject); } }