2D collider wont work

Super new to this, anyone know whats wrong?

74539-capture.png

1 Answer

1
  • You’re missing #pragma strict at the top of your script
  • It’s OnTriggerEnter2D, not onTriggerEnter2D
  • You’ve got an extra closing }

Thank You!