Brackeys/MultiplayerFPS-Tutorial

1 issue

SbaaHamza opened this issue · 1 comments

Hello,
When i press play in the main scene it unity gives me this issue. Please help!
I work with unity 5.6.2f1

1
2

Hey man, the issue is that you must do something like this:

var col=m_CollisionEvents[i].GetComponent();

This is the correct line, because unity is telling you that use .collider is obsoleted, so for that version of unity that you're using you have to use .GetComponent()

Let me know if this answer helped you to fix your issue.