Search Unity

OnCollisionEnter2D not showing up or working

Discussion in 'Scripting' started by SmelliotIsSmelly, May 30, 2017.

  1. SmelliotIsSmelly

    SmelliotIsSmelly

    Joined:
    Feb 26, 2017
    Posts:
    2
    After the new 5.6.1 Unity update, I was making a 2D platformer when I noticed that visual studio didn't fill in the OnCollisionEnter2D or anything like that. Also when I typed in the correct code for that function it didn't work in Unity. Is it just me or did Unity change the way you handle collisions? Thanks.