I found this super confusing. We declare a new method with:
private void OnCollisionEnter2D(Collision2D collision)
but it’s actually an already existing method? Or it has built-in functionality somehow? I’m unclear on how this works.
Also, I would have assumed this would belong in the Update method. Wouldn’t it need to check every frame for a collision?