My delivery driver game with a silly UI element that shows whether the car is carrying a package.
Also, in OnCollisionEnter2D, using
other.tag
will return an error, but using
other.gameObject.tag
won’t, so with this and destroy you can make a collidable bump/boost that disappear once you get it.