oncollisionenter2d get type of collision code example Example: oncollisionenter2d OnCollisionEnter2D(Collision2D Collider)